blob: 7208ab96cc5b19e6430a87799690c9ea0c61f3e8 (
plain) (
blame)
1
2
3
4
5
6
|
object Test extends dotty.runtime.LegacyApp {
def foo(p: => Unit)(x:Int = 0) = x
println(foo { val List(_*)=List(0); 1 } ())
println(foo { val List(_*)=List(0); 1 } (1))
}
|