Retain data flow info after is-expression

This commit is contained in:
Alexander Udalov
2012-11-13 22:27:22 +04:00
parent ef3e38071c
commit d0a2ba5737
3 changed files with 17 additions and 3 deletions
@@ -0,0 +1,6 @@
fun foo(x: Number) {
if ((x as Int) is Int) {
x : Int
}
x : Int
}