summaryrefslogtreecommitdiff
path: root/test/files/neg/bug2213.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-04-30 21:17:56 +0000
committerPaul Phillips <paulp@improving.org>2010-04-30 21:17:56 +0000
commitf662b62e2b079968b46e1474f73117fdf7684271 (patch)
tree249ba8c79cd4a5f8e133e444e92f3d03a5708afc /test/files/neg/bug2213.check
parent4758f2a87c2c069e9021bd23de4dd304d3623af7 (diff)
downloadscala-f662b62e2b079968b46e1474f73117fdf7684271.tar.gz
scala-f662b62e2b079968b46e1474f73117fdf7684271.tar.bz2
scala-f662b62e2b079968b46e1474f73117fdf7684271.zip
Accumulate missing abstract member errors so th...
Accumulate missing abstract member errors so they can all be printed instead of only the first. Closes #2213, no review.
Diffstat (limited to 'test/files/neg/bug2213.check')
-rw-r--r--test/files/neg/bug2213.check15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/neg/bug2213.check b/test/files/neg/bug2213.check
new file mode 100644
index 0000000000..b24f7dc554
--- /dev/null
+++ b/test/files/neg/bug2213.check
@@ -0,0 +1,15 @@
+bug2213.scala:9: error: class C needs to be abstract, since:
+value y in class A of type Int is not defined
+value x in class A of type Int is not defined
+method g in class A of type => Int is not defined
+method f in class A of type => Int is not defined
+class C extends A {}
+ ^
+bug2213.scala:11: error: object creation impossible, since:
+value y in class A of type Int is not defined
+value x in class A of type Int is not defined
+method g in class A of type => Int is not defined
+method f in class A of type => Int is not defined
+object Q extends A { }
+ ^
+two errors found