Say I define the following:
class A {
def foo() = println("A::foo")
}
implicit class Wrapper(a: A) {
def foo() = println("Wrapper::foo")
def bar() = println("Wrapper::bar")
}
val a = new A
a.foo()
a.bar()
A::foo() is the method that is called. Is there any possible way an implicit class can override the default implementation in A?