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 2df4b4d429..dfe48f9544 100644 --- a/test/files/neg/tcpoly_variance.check +++ b/test/files/neg/tcpoly_variance.check @@ -1,5 +1,5 @@ tcpoly_variance.scala:6: error: overriding method str in class A of type => m[java.lang.Object]; method str has incompatible type - override def str: m[String] = error("foo") // since x in m[x] is invariant, ! m[String] <: m[Object] + override def str: m[String] = system.error("foo") // since x in m[x] is invariant, ! m[String] <: m[Object] ^ one error found |