JVM_IR KT-45920 don't add special bridge if it clashes with known method

This commit is contained in:
Dmitry Petrov
2021-04-08 16:28:29 +03:00
committed by TeamCityServer
parent 92d200e093
commit c2a5b0b6e2
6 changed files with 78 additions and 11 deletions
@@ -351,6 +351,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
}
@TestMetadata("abstractMapRedefiningGetAny.kt")
public void testAbstractMapRedefiningGetAny() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/abstractMapRedefiningGetAny.kt");
}
public void testAllFilesPresentInCollectionStubs() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeListing/collectionStubs"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}