mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
#KTIJ-28873 Fixed GitOrigin-RevId: 9ccdd7436aecc315323edb82e053d716ec8f58f3
16 lines
192 B
Kotlin
16 lines
192 B
Kotlin
interface T {
|
|
fun foo(t: T) = t
|
|
}
|
|
|
|
fun foo() {
|
|
object : T {
|
|
val x = 1
|
|
}.foo(<caret>object : T {
|
|
val x = 2
|
|
})
|
|
}
|
|
|
|
/*
|
|
object : T {…}
|
|
object : T {…}.foo(…)
|
|
*/ |