Permalink
Browse files

Test case for SI-3844 - fixed by #virtpatmat @adriaanm

  • Loading branch information...
lrytz committed May 16, 2012
1 parent 9fe251e commit 9e248099f7d9d268b88856b2b3e2adfca3de93d9
Showing with 8 additions and 0 deletions.
  1. +2 −0 test/files/run/t3488.check
  2. +6 −0 test/files/run/t3488.scala
@@ -0,0 +1,2 @@
+0
+1
@@ -0,0 +1,6 @@
+object Test extends App {
+ def foo(p: => Unit)(x:Int = 0) = x
+
+ println(foo { val List(_*)=List(0); 1 } ())
+ println(foo { val List(_*)=List(0); 1 } (1))
+}

0 comments on commit 9e24809

Please sign in to comment.