blob: 952cb5ed8cf3ea6c90a5f041a30d72695b01c7b0 (
plain) (
tree)
|
|
class Bar {
implicit def f(implicit x: String): String = x
implicitly[String](f) // error: divergent (turn -explaintypes on to see it)
}
class Foo(implicit val bar: String) {
def this() = this("baz") // error: none of the alternatives match arguments
}
|