blob: 4793432ab385acaa3adfb8571d83c6e994724634 [file] [log] [blame]
interface T {
fun foo(a: () -> Any): T = this
}
fun foo(t: T) {
t.foo { <caret>1 }
.foo {2}
.foo({ 3 })
}
/*
1
{ 1 }
t.foo{...}
t.foo{...}.foo{...}
t.foo{...}.foo{...}.foo(...)
*/