mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
10 lines
203 B
Kotlin
10 lines
203 B
Kotlin
// PARAM_DESCRIPTOR: val t: <no name provided> defined in foo
|
|
// PARAM_TYPES: T
|
|
trait T {
|
|
fun test() {}
|
|
}
|
|
|
|
fun foo() {
|
|
val t = object: T {}
|
|
<selection>(object: T by t {}).test()</selection>
|
|
} |