16 lines
195 B
Kotlin
Vendored
16 lines
195 B
Kotlin
Vendored
// "Convert to anonymous object" "true"
|
|
interface I0 {
|
|
fun x() {}
|
|
}
|
|
|
|
interface I : I0() {
|
|
fun a()
|
|
val b: Int
|
|
get() = 1
|
|
}
|
|
|
|
fun foo(i: I) {}
|
|
|
|
fun test() {
|
|
foo(<caret>I {})
|
|
} |