diff options
Diffstat (limited to 'test/files/neg/t0842.check')
-rw-r--r-- | test/files/neg/t0842.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t0842.check b/test/files/neg/t0842.check new file mode 100644 index 0000000000..5f88f08194 --- /dev/null +++ b/test/files/neg/t0842.check @@ -0,0 +1,4 @@ +t0842.scala:1: error: A.this.type does not take type parameters +trait A[T] { def m: this.type[T] = this }
+ ^ +one error found |