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

5 lines
119 B
Plaintext
Vendored

// FIX: Replace with 'requireNotNull()' call
// WITH_RUNTIME
fun test(foo: Int?) {
requireNotNull(foo) { "test" }
}