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

9 lines
185 B
Kotlin
Vendored

// FIX: Replace with 'require()' call
// WITH_RUNTIME
fun test(b: Boolean) {
<caret>if (b) {
// comment1
throw IllegalArgumentException()
// comment2
}
}