summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1241.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug1241.check')
-rw-r--r--test/files/neg/bug1241.check5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/files/neg/bug1241.check b/test/files/neg/bug1241.check
index 2a892a274c..48c86cabb7 100644
--- a/test/files/neg/bug1241.check
+++ b/test/files/neg/bug1241.check
@@ -1,7 +1,4 @@
bug1241.scala:5: error: class type required but AnyRef{def hello(): Unit} found
val x4 = new T { def hello() { println("4") } } // error!
^
-bug1241.scala:5: error: AnyRef{def hello(): Unit} does not have a constructor
- val x4 = new T { def hello() { println("4") } } // error!
- ^
-two errors found
+one error found