Files
kotlin-fork/idea/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/notTargetException.kt
T
2019-07-08 16:36:18 +03:00

6 lines
110 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
fun test(b: Boolean) {
<caret>if (b) throw IndexOutOfBoundsException()
}