blob: 93a82cd0ce42e0b08e35a314a2c7de91ad6de169 (
plain) (
tree)
|
|
trait Iterator {
def span() = {
val self: Int = 33
class Leading {
def finish(): Unit = println("finished")
}
val leading = new Leading
class Trailing {
@volatile lazy val it = leading.finish()
}
val trailing = new Trailing
(leading, trailing)
}
}
|