diff options
-rw-r--r-- | test/files/neg/bug1241.check | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/bug1241.check b/test/files/neg/bug1241.check index 48c86cabb7..2a892a274c 100644 --- a/test/files/neg/bug1241.check +++ b/test/files/neg/bug1241.check @@ -1,4 +1,7 @@ bug1241.scala:5: error: class type required but AnyRef{def hello(): Unit} found val x4 = new T { def hello() { println("4") } } // error! ^ -one error found +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 |