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

5 lines
124 B
Kotlin
Vendored

// FIX: Replace with 'check()' call
// WITH_RUNTIME
fun test(b: Boolean) {
<caret>if (b) throw IllegalStateException()
}