Refine stubs generation for special built-ins

Do not generate stub if declaration has the same signature

 #KT-12909 Fixed
This commit is contained in:
Denis Zharkov
2016-06-29 19:50:26 +03:00
parent 5c34b27ea9
commit 84eb009c29
6 changed files with 111 additions and 7 deletions
@@ -13687,6 +13687,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("redundantStubForSize.kt")
public void testRedundantStubForSize() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/specialBuiltins/redundantStubForSize.kt");
doTest(fileName);
}
@TestMetadata("removeAtTwoSpecialBridges.kt")
public void testRemoveAtTwoSpecialBridges() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/specialBuiltins/removeAtTwoSpecialBridges.kt");