Files
kotlin-fork/idea/testData/quickfix/surroundWithNullCheck/objectQualifier.kt.after
T
2016-08-01 12:24:49 +03:00

12 lines
151 B
Plaintext
Vendored

// "Surround with null check" "true"
object Obj {
fun foo(x: Int) = x
}
fun use(arg: Int?) {
if (arg != null) {
Obj.foo(arg)
}
}