Files
kotlin/compiler/testData/diagnostics/tests/dataFlow/IsExpression.kt
2012-09-05 14:18:41 +04:00

6 lines
166 B
Kotlin
Vendored

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