[FE 1.0] Don't throw exception during substitution of accessors, just return original

This commit is contained in:
Victor Petukhov
2022-06-21 14:49:04 +02:00
committed by teamcity
parent db54d18c72
commit 00d1e46c5a
14 changed files with 254 additions and 1 deletions
@@ -14393,6 +14393,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/inference/builderInference/labaledCall.kt");
}
@Test
@TestMetadata("propertySubstitution.kt")
public void testPropertySubstitution() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/builderInference/propertySubstitution.kt");
}
@Test
@TestMetadata("simpleLambdaInCallWithAnotherLambdaWithBuilderInference.kt")
public void testSimpleLambdaInCallWithAnotherLambdaWithBuilderInference() throws Exception {
@@ -14393,6 +14393,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/inference/builderInference/labaledCall.kt");
}
@Test
@TestMetadata("propertySubstitution.kt")
public void testPropertySubstitution() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/builderInference/propertySubstitution.kt");
}
@Test
@TestMetadata("simpleLambdaInCallWithAnotherLambdaWithBuilderInference.kt")
public void testSimpleLambdaInCallWithAnotherLambdaWithBuilderInference() throws Exception {
@@ -3012,6 +3012,12 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
runTest("compiler/testData/ir/irText/types/definitelyNotNullWithIntersection1.kt");
}
@Test
@TestMetadata("dontLeaveStubTypesInSetter.kt")
public void testDontLeaveStubTypesInSetter() throws Exception {
runTest("compiler/testData/ir/irText/types/dontLeaveStubTypesInSetter.kt");
}
@Test
@TestMetadata("genericDelegatedDeepProperty.kt")
public void testGenericDelegatedDeepProperty() throws Exception {
@@ -3012,6 +3012,12 @@ public class LightTreeFir2IrTextTestGenerated extends AbstractLightTreeFir2IrTex
runTest("compiler/testData/ir/irText/types/definitelyNotNullWithIntersection1.kt");
}
@Test
@TestMetadata("dontLeaveStubTypesInSetter.kt")
public void testDontLeaveStubTypesInSetter() throws Exception {
runTest("compiler/testData/ir/irText/types/dontLeaveStubTypesInSetter.kt");
}
@Test
@TestMetadata("genericDelegatedDeepProperty.kt")
public void testGenericDelegatedDeepProperty() throws Exception {