From 8b28292b5379a34fad0599335116b9e54ee44e20 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 8 Aug 2011 06:56:21 +0000 Subject: Fixing all the tests and source which still use... Fixing all the tests and source which still use the old for comprehension syntax with vals where there are no vals and no vals where there are vals. No review. --- test/files/run/t1939.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/run/t1939.scala') diff --git a/test/files/run/t1939.scala b/test/files/run/t1939.scala index 7626e8bc1a..5a36348761 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; m = t.module) {} + for (t <- ts; val m = t.module) {} ts.map(t => t.module).foreach { _ => () } // ts.map(t => (t : T).module).foreach { _ => () } // runs successfully } -- cgit v1.2.3