summaryrefslogtreecommitdiff
path: root/test/files/run/t1939.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t1939.scala')
-rw-r--r--test/files/run/t1939.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t1939.scala b/test/files/run/t1939.scala
index 5a36348761..7626e8bc1a 100644
--- a/test/files/run/t1939.scala
+++ b/test/files/run/t1939.scala
@@ -25,7 +25,7 @@ object Test extends App {
def f(ts: List[tType]): Unit = {
- for (t <- ts; val m = t.module) {}
+ for (t <- ts; m = t.module) {}
ts.map(t => t.module).foreach { _ => () }
// ts.map(t => (t : T).module).foreach { _ => () } // runs successfully
}