Files
kotlin-fork/idea/testData/inspectionsLocal/replaceGuardClauseWithFunctionCall/require/comment2.kt.after
T
Toshiaki Kameyama 90b0ea73dc Add inspection for check/require/checkNotNull/requireNotNull
#KT-30640 Fixed
#KT-22412 Fixed
2019-07-08 16:36:18 +03:00

9 lines
157 B
Plaintext
Vendored

// FIX: Replace with 'require()' call
// WITH_RUNTIME
fun test(b: Boolean) {
require(!b) {
// comment1
"test"
// comment2
}
}