266149b88c
#KT-31601 Fixed
14 lines
182 B
Kotlin
Vendored
14 lines
182 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
// PROBLEM: none
|
|
class A(val b: B?)
|
|
class B
|
|
class C(val d: D)
|
|
class D
|
|
|
|
fun B?.getC(): C {
|
|
return C(D())
|
|
}
|
|
|
|
fun test(a: A?) {
|
|
a?.let<caret> { it.b.getC().d }
|
|
} |