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

7 lines
140 B
Plaintext
Vendored

// "Surround with null check" "true"
fun foo(arg: Int?, flag: Boolean) {
while (flag) if (arg != null) {
arg.hashCode()
}
}