summaryrefslogtreecommitdiff
path: root/test/files/pos/t2413/TestScalac.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t2413/TestScalac.scala')
-rw-r--r--test/files/pos/t2413/TestScalac.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/t2413/TestScalac.scala b/test/files/pos/t2413/TestScalac.scala
index 098e852dd7..0f395e6c74 100644
--- a/test/files/pos/t2413/TestScalac.scala
+++ b/test/files/pos/t2413/TestScalac.scala
@@ -18,6 +18,6 @@ class Foo extends TestJava {
val aVal = repeatParam("1","2","3") */
// THIS YIELDS TO CRASH
- for (a <- 1 to 4 ; anotherVal = repeatParam("1","2","3"))
+ for (a <- 1 to 4 ; val anotherVal = repeatParam("1","2","3"))
yield anotherVal
}