spand
02/20/2018, 12:41 PMjk
02/20/2018, 1:23 PMarekolek
02/20/2018, 1:32 PMthis
spand
02/20/2018, 1:48 PMfoo { // this: Foo
bar { // this: Bar
baz { // this: Baz
moo()
}
}
}
moo()
takes something as receiver that either Foo
, Bar
or Baz
satisfies. I would just like something nice like Ctrl + B for variables but since I cannot select the receiver then I cannot use that.jk
02/20/2018, 3:02 PMmoo()
you’d see something like Baz.() -> Unit
spand
02/20/2018, 3:06 PMFoo
or Bar
. Consider fun CharSequence.moo() {}
and interface Foo : CharSequence