bug900.check

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

CHECK
11
字号
bug900.scala:4: error: type mismatch; found   : Foo.this.x.type (with underlying type Foo.this.bar) required: AnyRefNote that implicit conversions are not applicable because they are ambiguous: 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 AnyRef        def break(): x.type                     ^one error found

⌨️ 快捷键说明

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