DataFLowInfo doesn't flow from when-checks

This commit is contained in:
Andrey Breslav
2012-09-05 13:40:42 +04:00
parent a267f65fa1
commit d4cdbbccff
3 changed files with 17 additions and 4 deletions
@@ -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
}