diff options
Diffstat (limited to 'test/files/neg/t7473.check')
-rw-r--r-- | test/files/neg/t7473.check | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/files/neg/t7473.check b/test/files/neg/t7473.check index 488baef94e..c686466a44 100644 --- a/test/files/neg/t7473.check +++ b/test/files/neg/t7473.check @@ -1,13 +1,7 @@ -t7473.scala:5: error: '<-' expected but '=' found. +t7473.scala:5: error: for comprehension must start with generator: '<-' expected but '=' found. for (x = Option(i); if x == j) yield 42 //t7473.scala:4: error: '<-' expected but '=' found. ^ -t7473.scala:5: error: illegal start of simple expression - for (x = Option(i); if x == j) yield 42 //t7473.scala:4: error: '<-' expected but '=' found. - ^ -t7473.scala:8: error: '<-' expected but '=' found. +t7473.scala:8: error: for comprehension must start with generator: '<-' expected but '=' found. (for (x = Option(i); if x == j) yield 42) toList ^ -t7473.scala:8: error: illegal start of simple expression - (for (x = Option(i); if x == j) yield 42) toList - ^ -four errors found +two errors found |