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

7 lines
130 B
Kotlin
Vendored

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