Files
kotlin-fork/idea/testData/quickfix/wrapWithSafeLetCall/objectQualifier.kt
T
Mikhail Glukhikh b7fd41844d Wrap with safe let call handles qualified calls correctly #KT-13262 Fixed
(cherry picked from commit 7044348)
2016-08-01 12:24:38 +03:00

8 lines
152 B
Kotlin
Vendored

// "Wrap with '?.let { ... }' call" "true"
// WITH_RUNTIME
object Obj {
fun foo(x: Int) = x
}
val arg: Int? = null
val argFoo = Obj.foo(<caret>arg)