Retain data flow info after boolean operations

#KT-2825 In Progress
This commit is contained in:
Alexander Udalov
2012-11-12 18:45:01 +04:00
parent 2e6500d848
commit e4cd0e004f
4 changed files with 45 additions and 2 deletions
@@ -0,0 +1,5 @@
fun foo(x: Int?): Boolean {
val result = ((x!! == 0) && ((x : Int) == 0))
x : Int
return result
}