diff options
Diffstat (limited to 'tests/untried/neg/t2066b.check')
-rw-r--r-- | tests/untried/neg/t2066b.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/t2066b.check b/tests/untried/neg/t2066b.check new file mode 100644 index 000000000..097c44fef --- /dev/null +++ b/tests/untried/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 |