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.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/implicits.check b/test/files/neg/implicits.check
index b84586fc16..281f7a6dd2 100644
--- a/test/files/neg/implicits.check
+++ b/test/files/neg/implicits.check
@@ -2,8 +2,8 @@ implicits.scala:21: error: type mismatch;
found : Pos
required: ?{val +: ?}
Note that implicit conversions are not applicable because they are ambiguous:
- both method any2plus in object Sub of type (Any)Sub.Plus
- and method pos2int in object Super of type (Pos)int
+ both method any2plus in object Sub of type (x: Any)Sub.Plus
+ and method pos2int in object Super of type (p: Pos)int
are possible conversion functions from Pos to ?{val +: ?}
f(p+1)
^