diff options
Diffstat (limited to 'test/files/neg/abstract-class-error.check')
-rw-r--r-- | test/files/neg/abstract-class-error.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/abstract-class-error.check b/test/files/neg/abstract-class-error.check new file mode 100644 index 0000000000..b8a0c6e70b --- /dev/null +++ b/test/files/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 |