Closed
Description
Minimized code
def times(num : Int)(block : => Unit) : Unit = ()
times(10): println("ah")
Output
Term-dependent types are experimental,
they must be enabled with a `experimental.dependent` language import or setting
Expectation
It would be cool if a line break would not be required, but if indeed it does, the error message is wrong.