109f7992b4
#KT-2934 Fixed
41 lines
292 B
Kotlin
41 lines
292 B
Kotlin
trait Test {
|
|
fun foo(): Test
|
|
}
|
|
|
|
fun test(t: Test) {
|
|
t.foo()
|
|
|
|
t.
|
|
foo()
|
|
|
|
t.
|
|
|
|
|
|
foo()
|
|
|
|
t
|
|
|
|
|
|
.foo()
|
|
|
|
|
|
t.foo().foo()
|
|
|
|
|
|
t?.foo()
|
|
|
|
t?.
|
|
foo()
|
|
|
|
t?.
|
|
|
|
|
|
foo()
|
|
|
|
t
|
|
|
|
|
|
?.foo()
|
|
|
|
t?.foo()?.foo()
|
|
} |