diff options
Diffstat (limited to 'test/files/neg/bug900.check')
-rw-r--r-- | test/files/neg/bug900.check | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/bug900.check b/test/files/neg/bug900.check index 3345255231..f5687ac645 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: scala.AnyRef + required: 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 + both method any2stringadd in object Predef of type (Any)scala.runtime.StringAdd and method any2ArrowAssoc in object Predef of type [a](a)ArrowAssoc[a] - are possible conversion functions from Foo.this.x.type to scala.AnyRef + are possible conversion functions from Foo.this.x.type to AnyRef def break(): x.type ^ one error found |