Fix mapGetterSignature/mapSetterSignature

In case of TRAIT_IMPL the incorrect this was written. Reuse the code from the
common mapSignature

 #KT-3413 Fixed
This commit is contained in:
Alexander Udalov
2013-03-15 21:26:23 +04:00
parent 2518ba3353
commit 242b97febf
5 changed files with 69 additions and 39 deletions
@@ -3275,6 +3275,21 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/traits/withRequired.kt");
}
@TestMetadata("withRequiredGenericProperty.kt")
public void testWithRequiredGenericProperty() throws Exception {
doTest("compiler/testData/codegen/box/traits/withRequiredGenericProperty.kt");
}
@TestMetadata("withRequiredProperty.kt")
public void testWithRequiredProperty() throws Exception {
doTest("compiler/testData/codegen/box/traits/withRequiredProperty.kt");
}
@TestMetadata("withRequiredPropertyViaBridge.kt")
public void testWithRequiredPropertyViaBridge() throws Exception {
doTest("compiler/testData/codegen/box/traits/withRequiredPropertyViaBridge.kt");
}
@TestMetadata("withRequiredSuper.kt")
public void testWithRequiredSuper() throws Exception {
doTest("compiler/testData/codegen/box/traits/withRequiredSuper.kt");