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

7 lines
137 B
Kotlin
Vendored

// "Surround with null check" "true"
fun foo(arg: Int?, flag: Boolean) {
when (flag) {
true -> arg<caret>.hashCode()
}
}