summaryrefslogtreecommitdiff
path: root/test/files/neg/bug900.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug900.check')
-rw-r--r--test/files/neg/bug900.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/bug900.check b/test/files/neg/bug900.check
index 531ac5bee4..0bb5edad80 100644
--- a/test/files/neg/bug900.check
+++ b/test/files/neg/bug900.check
@@ -1,10 +1,10 @@
bug900.scala:4: error: type mismatch;
found : Foo.this.x.type (with underlying type Foo.this.bar)
- required: java.lang.Object
+ required: scala.AnyRef
Note that implicit conversions are not applicable because they are ambiguous:
both method any2stringadd in object Predef of type (scala.Any)scala.runtime.StringAdd
and method any2ArrowAssoc in object Predef of type [a](a)scala.Predef.ArrowAssoc[a]
- are possible conversion functions from Foo.this.x.type to java.lang.Object
+ are possible conversion functions from Foo.this.x.type to scala.AnyRef
def break(): x.type
^
one error found