[IR] Support try for MFVC

#KT-1179
This commit is contained in:
Evgeniy.Zhelenskiy
2022-10-03 10:02:09 +02:00
committed by teamcity
parent f8aa3612f8
commit e1f886936c
8 changed files with 156 additions and 2 deletions
@@ -50237,6 +50237,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/valueClasses/throwingMFVCReassignments.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());
}
@Test
@TestMetadata("tryExpressions.kt")
public void testTryExpressions() throws Exception {
runTest("compiler/testData/codegen/box/valueClasses/tryExpressions.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());
}
@Test
@TestMetadata("visibility.kt")
public void testVisibility() throws Exception {
@@ -5824,6 +5824,12 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
public void testRegularClassWithMFVC() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/valueClasses/regularClassWithMFVC.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());
}
@Test
@TestMetadata("tryExpressions.kt")
public void testTryExpressions() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/valueClasses/tryExpressions.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());
}
}
@Nested