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
@@ -132,6 +132,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
doTest(fileName);
}
@TestMetadata("doNotStoreNullForTmpInDestructuring.kt")
public void testDoNotStoreNullForTmpInDestructuring() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/doNotStoreNullForTmpInDestructuring.kt");
doTest(fileName);
}
@TestMetadata("doNotStoreNullsForCapturedVars.kt")
public void testDoNotStoreNullsForCapturedVars() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/doNotStoreNullsForCapturedVars.kt");