Files
kotlin-fork/idea/testData/intentions/convertIfToAssert/inapplicableAssertionErrorOverloaded.kt
T

9 lines
171 B
Kotlin

// IS_APPLICABLE: false
// WITH_RUNTIME
fun foo() {
if <caret>(1 == 0) {
throw AssertionError("text")
}
}
class AssertionError(x: String): Exception(x) {}