Retain data flow info after in (contains)

#KT-2825 In Progress
This commit is contained in:
Alexander Udalov
2012-11-12 18:22:37 +04:00
parent 3358108c3f
commit 2e6500d848
4 changed files with 34 additions and 6 deletions
@@ -0,0 +1,5 @@
fun foo(x: Number): Boolean {
val result = (x as Int) in 1..5
x : Int
return result
}