Minor. Add tests and comment about copying generic parameters to

constructor, but not function reference to the constructor.

 #KT-32162
This commit is contained in:
Ilmir Usmanov
2022-01-31 06:21:59 +01:00
parent 84ccf412cb
commit 00a08fc6a4
16 changed files with 364 additions and 0 deletions
@@ -20609,6 +20609,30 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/genericUnderlyingValue"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("array.kt")
public void testArray() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/genericUnderlyingValue/array.kt");
}
@Test
@TestMetadata("arrayIC.kt")
public void testArrayIC() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/genericUnderlyingValue/arrayIC.kt");
}
@Test
@TestMetadata("primitive.kt")
public void testPrimitive() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/genericUnderlyingValue/primitive.kt");
}
@Test
@TestMetadata("recursive.kt")
public void testRecursive() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/genericUnderlyingValue/recursive.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {