Files
kotlin-fork/compiler/testData/diagnostics/tests/dataFlow/IsExpression.fir.kt
T

6 lines
136 B
Kotlin
Vendored

fun f(a: Boolean, b: Int) {}
fun foo(a: Any) {
<!INAPPLICABLE_CANDIDATE!>f<!>(a is Int, a)
1 <!INAPPLICABLE_CANDIDATE!>+<!> a
}