DataFLowInfo doesn't flow from when-checks
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user