blob: 281f7a6dd2da2b56460ae04d96edade2e850c14f (
plain) (
tree)
|
|
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 (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)
^
one error found
|