diff options
Diffstat (limited to 'test/files/neg/t2066b.check')
-rw-r--r-- | test/files/neg/t2066b.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t2066b.check b/test/files/neg/t2066b.check new file mode 100644 index 0000000000..097c44fef3 --- /dev/null +++ b/test/files/neg/t2066b.check @@ -0,0 +1,5 @@ +t2066b.scala:7: error: overriding method f in trait A of type [T[_]](x: T[Int])T[Any]; + method f has incompatible type + def f[T[+_]](x : T[Int]) : T[Any] = x + ^ +one error found |