Files
kotlin-fork/idea/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/requireNotNull/hasElse.kt
T

4 lines
122 B
Kotlin
Vendored

// WITH_RUNTIME
fun test(foo: Int?) {
<caret>if (foo == null) throw IllegalArgumentException("test") else println(1)
}