summaryrefslogtreecommitdiff
path: root/test/files/neg/t7473.check
diff options
context:
space:
mode:
authorFrançois Garillot <francois@garillot.net>2013-09-24 10:21:10 +0200
committerFrançois Garillot <francois@garillot.net>2013-09-24 10:21:10 +0200
commit710401d8aec814d95b25ca2104036aa414a5db35 (patch)
treee6374925f1719b65ceb51202aacfb6257754ff6f /test/files/neg/t7473.check
parent7d570b54c3c895bc8948adeca2e463d135e38feb (diff)
downloadscala-710401d8aec814d95b25ca2104036aa414a5db35.tar.gz
scala-710401d8aec814d95b25ca2104036aa414a5db35.tar.bz2
scala-710401d8aec814d95b25ca2104036aa414a5db35.zip
Revert "Merge pull request #2957 from paulp/pr/parser-improvements"
This reverts commit 884e1ce762d98b29594146d37b85384581d9ba96, reversing changes made to f6fcc4431f272c707d49de68add532c452dd4b0f.
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 c686466a44..bc8c29d463 100644
--- a/test/files/neg/t7473.check
+++ b/test/files/neg/t7473.check
@@ -1,7 +1,7 @@
-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.
+t7473.scala:6: error: '<-' 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