Don't create OutOfBlock modification inside mulitdeclarations

This commit is contained in:
Nikolay Krasko
2012-09-14 20:00:14 +04:00
parent fb5e2333ac
commit 8d551c8947
3 changed files with 15 additions and 0 deletions
@@ -0,0 +1,8 @@
// FALSE
data class Test(val a : Int, val b : Int)
fun a() {
val (test, <caret>other) = Test(11, 12)
}