From 640daad3f4b45de3283d1d860a1971a5efd2da7f Mon Sep 17 00:00:00 2001 From: David MacIver Date: Mon, 1 Jun 2009 13:40:21 +0000 Subject: Changed output error for bug1241. --- test/files/neg/bug1241.check | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3