Closed
Description
Lukas says in scala/scala#4822 (comment):
object Test {
def foo(): () => String = () => ""
val f: () => Any = foo
def main(args: Array[String]): Unit = {
println(f()) // <function0>
}
}
Should we emit a deprecation in this case?