0b647ac358
Split testData into 'classes' and 'expressions'.
7 lines
119 B
Kotlin
Vendored
7 lines
119 B
Kotlin
Vendored
class C {
|
|
fun foo(): C = this
|
|
fun bar(): C? = this
|
|
}
|
|
|
|
fun test(nc: C?) =
|
|
nc?.foo()?.bar()?.foo()?.foo() |