summaryrefslogtreecommitdiff
path: root/test/files/neg/bug391.check
diff options
context:
space:
mode:
authorSean McDirmid <sean.mcdirmid@gmail.com>2007-09-17 16:36:10 +0000
committerSean McDirmid <sean.mcdirmid@gmail.com>2007-09-17 16:36:10 +0000
commita205b6b06e705711308c9ad3abac74ba66b6266f (patch)
tree49aa189b4917b20d76c2da02cbf9475af5a49662 /test/files/neg/bug391.check
parent3f9b82c88d74c1b03daf5131b50c172213f40a63 (diff)
downloadscala-a205b6b06e705711308c9ad3abac74ba66b6266f.tar.gz
scala-a205b6b06e705711308c9ad3abac74ba66b6266f.tar.bz2
scala-a205b6b06e705711308c9ad3abac74ba66b6266f.zip
Massive check-in for IDE.
Diffstat (limited to 'test/files/neg/bug391.check')
-rw-r--r--test/files/neg/bug391.check8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/neg/bug391.check b/test/files/neg/bug391.check
index 4db19a39c4..18f36a5757 100644
--- a/test/files/neg/bug391.check
+++ b/test/files/neg/bug391.check
@@ -1,13 +1,13 @@
bug391.scala:2: error: identifier expected but 'def' found.
def fun1(def x: Int): Int = x; // the "def x" is illegal
^
-bug391.scala:3: error: ':' expected but '}' found.
- def fun2(val x: Int): Int = x; // the "val x" is illegal
- ^
+bug391.scala:4: error: ':' expected but '}' found.
+}
+^
bug391.scala:6: error: identifier expected but 'def' found.
class E(def x: Int); // the "def x" is illegal
^
bug391.scala:6: error: ':' expected but eof found.
class E(def x: Int); // the "def x" is illegal
- ^
+ ^
four errors found