implicits.check

来自「JAVA 语言的函数式编程扩展」· CHECK 代码 · 共 12 行

CHECK
12
字号
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)int yet alternative definition   method any2plus in object Sub of type (Any)Sub.Plus is defined in a subclass. Both definitions are possible conversion functions from Pos to ?{val +: ?}  f(p+1)    ^one error found

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?