blob: 314dfc78385f90604db40b3ef92c9654cda943cc (
plain) (
blame)
1
2
3
4
5
6
7
8
|
t3488.scala:4: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
println(foo { val List(_*)=List(0); 1 } ())
^
t3488.scala:5: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
println(foo { val List(_*)=List(0); 1 } (1))
^
0
1
|