Do not store null for temporary in destructuring assignment

#KT-19256 Fixed Target versions 1.1.5
This commit is contained in:
Dmitry Petrov
2017-07-26 17:31:58 +03:00
parent b867c46f72
commit c9ad290ad5
3 changed files with 11 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
fun test(p: Pair<Int, Int>) {
val (x, y) = p
}
// 0 ACONST_NULL