KT-46267 JVM_IR don't generate unnecessary ATHROW in lateinit var read

This commit is contained in:
Dmitry Petrov
2021-06-07 16:08:36 +03:00
parent d3453e98b0
commit 81b09ca09f
6 changed files with 41 additions and 3 deletions
@@ -24797,6 +24797,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/properties/lateinit/exceptionGetter.kt");
}
@TestMetadata("kt46267.kt")
public void testKt46267() throws Exception {
runTest("compiler/testData/codegen/box/properties/lateinit/kt46267.kt");
}
@TestMetadata("localClass.kt")
public void testLocalClass() throws Exception {
runTest("compiler/testData/codegen/box/properties/lateinit/localClass.kt");