summaryrefslogtreecommitdiff
path: root/test/files/neg/tcpoly_variance.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/tcpoly_variance.check')
-rw-r--r--test/files/neg/tcpoly_variance.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/tcpoly_variance.check b/test/files/neg/tcpoly_variance.check
index 0695fa09a1..c0dfcac2dd 100644
--- a/test/files/neg/tcpoly_variance.check
+++ b/test/files/neg/tcpoly_variance.check
@@ -1,4 +1,4 @@
-tcpoly_variance.scala:6: error: overriding method str in class A of type => m[java.lang.Object];
+tcpoly_variance.scala:6: error: overriding method str in class A of type => m[Object];
method str has incompatible type
override def str: m[String] = sys.error("foo") // since x in m[x] is invariant, ! m[String] <: m[Object]
^