Fix for KT-11081: Reified type parameters are lost in anonymous object in inline function when using default value parameters

#KT-11081 Fixed
This commit is contained in:
Michael Bogdanov
2016-02-18 15:23:39 +03:00
parent 4c1c64fa08
commit 405c21a17e
5 changed files with 57 additions and 3 deletions
@@ -1456,6 +1456,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
doTestMultiFileWithInlineCheck(fileName);
}
@TestMetadata("kt11081.1.kt")
public void testKt11081() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/reified/kt11081.1.kt");
doTestMultiFileWithInlineCheck(fileName);
}
@TestMetadata("kt6988.1.kt")
public void testKt6988() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/reified/kt6988.1.kt");
@@ -1456,6 +1456,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
doBoxTestWithInlineCheck(fileName);
}
@TestMetadata("kt11081.1.kt")
public void testKt11081() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/reified/kt11081.1.kt");
doBoxTestWithInlineCheck(fileName);
}
@TestMetadata("kt6988.1.kt")
public void testKt6988() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/reified/kt6988.1.kt");