mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 15:53:49 +00:00
10 lines
207 B
Kotlin
Vendored
10 lines
207 B
Kotlin
Vendored
// PARAM_DESCRIPTOR: val t: <no name provided> defined in foo
|
|
// PARAM_TYPES: T
|
|
interface T {
|
|
fun test() {}
|
|
}
|
|
|
|
fun foo() {
|
|
val t = object: T {}
|
|
<selection>(object: T by t {}).test()</selection>
|
|
} |