Retain data flow info after multi-declaration

#KT-2825 In Progress
This commit is contained in:
Alexander Udalov
2012-11-08 22:35:19 +04:00
parent a54e34282a
commit 950f912154
3 changed files with 17 additions and 5 deletions
@@ -0,0 +1,7 @@
fun Int.component1() = "a"
fun foo(a: Number) {
val (x) = a as Int
a : Int
x : String
}