JVM_IR KT-24258 fix NPE message for delegated properties

This commit is contained in:
Dmitry Petrov
2020-12-23 17:19:02 +03:00
committed by TeamCityServer
parent ad8bed078f
commit 4e261cc358
11 changed files with 175 additions and 23 deletions
@@ -16287,6 +16287,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class NotNullAssertions extends AbstractLightAnalysisModeTest {
@TestMetadata("kt24258.kt")
public void ignoreKt24258() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/kt24258.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -16335,6 +16340,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/kt18911.kt");
}
@TestMetadata("kt24258nn.kt")
public void testKt24258nn() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/kt24258nn.kt");
}
@TestMetadata("localEntities.kt")
public void testLocalEntities() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/localEntities.kt");