summaryrefslogtreecommitdiff
path: root/test/files/neg/t2078.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t2078.check')
-rw-r--r--test/files/neg/t2078.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t2078.check b/test/files/neg/t2078.check
index 3cdaa7d27a..00bb323a0b 100644
--- a/test/files/neg/t2078.check
+++ b/test/files/neg/t2078.check
@@ -1,4 +1,4 @@
-t2078.scala:2: error: contravariant type S occurs in covariant position in type => Object{val x: S} of value f
+t2078.scala:2: error: contravariant type S occurs in covariant position in type => AnyRef{val x: S} of value f
val f = new { val x = y }
^
one error found