Files
kotlin-fork/idea/testData/quickfix/surroundWithNullCheck/iteratorUnsafe.kt.after
T
2016-06-13 15:34:15 +03:00

8 lines
149 B
Plaintext
Vendored

// "Surround with null check" "true"
// WITH_RUNTIME
fun foo(list: List<String>?) {
if (list != null) {
for (element in list) {}
}
}