We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
T
() => T
With scalac you can do
val foo = 1 val bar: () => Int = foo _
dotc reject this code snippet. Should we support it under -language:Scala2 and emit a migration warning?
-language:Scala2