kirillrakhman
03/30/2017, 11:50 AMclass Bar {
fun stuff(foo: Foo) {}
}
class Foo {
val self = this
fun baz(bar: Bar) = with(bar) {
stuff(self) // I'm too lazy to type `this@Foo` so I pretend this is Javascript and use self
}
}