summaryrefslogtreecommitdiff
path: root/test/files/neg/implicits.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/implicits.check')
-rw-r--r--test/files/neg/implicits.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/implicits.check b/test/files/neg/implicits.check
index 266d92c765..1af86e6c05 100644
--- a/test/files/neg/implicits.check
+++ b/test/files/neg/implicits.check
@@ -2,7 +2,7 @@ implicits.scala:21: error: type mismatch;
found : Pos
required: ?{val +: ?}
Note that implicit conversions are not applicable because they are ambiguous:
- most specific definition is: method pos2int in object Super of type (Pos)scala.Int
+ most specific definition is: method pos2int in object Super of type (Pos)scala.Predef.int
yet alternative definition method any2plus in object Sub of type (scala.Any)Sub.Plus
is defined in a subclass.
Both definitions are possible conversion functions from Pos to ?{val +: ?}