533062 (2) [Avatar] Offline
I am really keen to read this book and try out its example as well. But while running 6.2 listening example, getting compile time error as below:

scala> class Outer {
| trait Inner
| def y = new Inner {}
| def foo(x: this.Outer) = null
| def bar(x: X#Inner) = null
| }
<console>:14: error: type Outer is not a member of Outer
def foo(x: this.Outer) = null
<console>:15: error: not found: type X
def bar(x: X#Inner) = null

This really disappointed me, I am using scala 2.12 version, is it the problem?
581942 (2) [Avatar] Offline
I am facing the same problem too ...