mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
#KTIJ-28873 Fixed GitOrigin-RevId: 9ccdd7436aecc315323edb82e053d716ec8f58f3
17 lines
205 B
Kotlin
17 lines
205 B
Kotlin
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(…)
|
|
*/ |