diff options
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/bug1241.check | 2 | ||||
-rw-r--r-- | test/files/neg/t0204.check | 4 | ||||
-rw-r--r-- | test/files/neg/t0218.check | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test/files/neg/bug1241.check b/test/files/neg/bug1241.check index b846270c1b..48c86cabb7 100644 --- a/test/files/neg/bug1241.check +++ b/test/files/neg/bug1241.check @@ -1,4 +1,4 @@ -bug1241.scala:5: error: class type required +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 diff --git a/test/files/neg/t0204.check b/test/files/neg/t0204.check index ffa13e3df7..27b88d21d2 100644 --- a/test/files/neg/t0204.check +++ b/test/files/neg/t0204.check @@ -1,4 +1,4 @@ -t0204.scala:4: error: class type required - trait C extends B +t0204.scala:4: error: class type required but Program.A{type T = String} found + trait C extends B
^ one error found diff --git a/test/files/neg/t0218.check b/test/files/neg/t0218.check index 0f74da6ad6..c7a6d952b9 100644 --- a/test/files/neg/t0218.check +++ b/test/files/neg/t0218.check @@ -1,4 +1,4 @@ -t0218.scala:10: error: type P is abstract; cannot be instantiated - List(new PP) - ^ +t0218.scala:10: error: class type required but APQ.this.P found + List(new PP)
+ ^ one error found |