Never delete types from inline functions during inline transformations

#KT-19399 Fixed
This commit is contained in:
Mikhael Bogdanov
2018-02-15 16:39:08 +01:00
parent 729c866f47
commit d732f0e160
11 changed files with 141 additions and 8 deletions
@@ -1821,6 +1821,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/bytecodeText/inline"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("deleteClassOnTransfromation.kt")
public void testDeleteClassOnTransfromation() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/inline/deleteClassOnTransfromation.kt");
doTest(fileName);
}
@TestMetadata("finallyMarkers.kt")
public void testFinallyMarkers() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/inline/finallyMarkers.kt");