diff options
Diffstat (limited to 'test/files/neg/tcpoly_variance.check')
-rw-r--r-- | test/files/neg/tcpoly_variance.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/tcpoly_variance.check b/test/files/neg/tcpoly_variance.check index 61d7094437..146240ac9b 100644 --- a/test/files/neg/tcpoly_variance.check +++ b/test/files/neg/tcpoly_variance.check @@ -1,5 +1,5 @@ tcpoly_variance.scala:6: error: error overriding method str in class A of type => m[java.lang.Object]; method str has incompatible type => m[String] override def str: m[String] = error("foo") // since x in m[x] is invariant, ! m[String] <: m[Object] - ^ + ^ one error found |