summaryrefslogtreecommitdiff
path: root/test/files/neg/t7473.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-09-19 08:02:01 -0700
committerJason Zaugg <jzaugg@gmail.com>2013-09-19 08:02:01 -0700
commit884e1ce762d98b29594146d37b85384581d9ba96 (patch)
treeeda8676972c1ad92c86dec2a543145e9b3c868bc /test/files/neg/t7473.check
parentf6fcc4431f272c707d49de68add532c452dd4b0f (diff)
parentf7a315adf63fdac2a7f95f87b88e03d4139af863 (diff)
downloadscala-884e1ce762d98b29594146d37b85384581d9ba96.tar.gz
scala-884e1ce762d98b29594146d37b85384581d9ba96.tar.bz2
scala-884e1ce762d98b29594146d37b85384581d9ba96.zip
Merge pull request #2957 from paulp/pr/parser-improvements
Parser and position improvements.
Diffstat (limited to 'test/files/neg/t7473.check')
-rw-r--r--test/files/neg/t7473.check8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/neg/t7473.check b/test/files/neg/t7473.check
index bc8c29d463..c686466a44 100644
--- a/test/files/neg/t7473.check
+++ b/test/files/neg/t7473.check
@@ -1,7 +1,7 @@
-t7473.scala:6: 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:8: error: for comprehension must start with generator: '<-' expected but '=' found.
(for (x = Option(i); if x == j) yield 42) toList
^
-t7473.scala:6: error: illegal start of simple expression
- (for (x = Option(i); if x == j) yield 42) toList
- ^
two errors found