diff options
Diffstat (limited to 'tests/untried/neg/abstract-class-error.check')
-rw-r--r-- | tests/untried/neg/abstract-class-error.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/abstract-class-error.check b/tests/untried/neg/abstract-class-error.check new file mode 100644 index 000000000..87d148ecc --- /dev/null +++ b/tests/untried/neg/abstract-class-error.check @@ -0,0 +1,5 @@ +S.scala:1: error: class S needs to be abstract, since method g in class J of type (y: Int, z: java.util.List)Int is not defined +(Note that java.util.List does not match java.util.List[String]. To implement a raw type, use java.util.List[_]) +class S extends J { + ^ +one error found |