f87d2d1fcc
chooser. Do not suggest parenthesized expressions #KT-9028 Fixed
16 lines
192 B
Kotlin
Vendored
16 lines
192 B
Kotlin
Vendored
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(...)
|
|
*/ |