blob: 818b46771fe876e47d857eaaff79f71a4a0d6a54 (
plain) (
tree)
|
|
object Test {
def main(args: Array[String]) = {
val x: Int => Unit =
y => println(x) // error: `x` is a forward reference
implicit val z: String => Unit =
y => println(implicitly[String => Unit]) // error: `z` is a forward reference
}
}
|