Don't lost type parameters for members of inline classes in the bytecode
#KT-33157 Fixed
This commit is contained in:
+5
@@ -12720,6 +12720,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/useInlineFunctionInsideInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("useOfInlineClassWithGenericMethodFromJava.kt")
|
||||
public void testUseOfInlineClassWithGenericMethodFromJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/useOfInlineClassWithGenericMethodFromJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("useThisInsideInlineClass.kt")
|
||||
public void testUseThisInsideInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/useThisInsideInlineClass.kt");
|
||||
|
||||
+5
@@ -12720,6 +12720,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/useInlineFunctionInsideInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("useOfInlineClassWithGenericMethodFromJava.kt")
|
||||
public void testUseOfInlineClassWithGenericMethodFromJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/useOfInlineClassWithGenericMethodFromJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("useThisInsideInlineClass.kt")
|
||||
public void testUseThisInsideInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/useThisInsideInlineClass.kt");
|
||||
|
||||
+5
@@ -11610,6 +11610,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/useInlineFunctionInsideInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("useOfInlineClassWithGenericMethodFromJava.kt")
|
||||
public void testUseOfInlineClassWithGenericMethodFromJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/useOfInlineClassWithGenericMethodFromJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("useThisInsideInlineClass.kt")
|
||||
public void testUseThisInsideInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/useThisInsideInlineClass.kt");
|
||||
|
||||
+5
@@ -542,6 +542,11 @@ public class IrWriteSignatureTestGenerated extends AbstractIrWriteSignatureTest
|
||||
runTest("compiler/testData/writeSignature/inlineClasses/genericInlineClassWithNotNullTypeParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericMethodInsideClass.kt")
|
||||
public void testGenericMethodInsideClass() throws Exception {
|
||||
runTest("compiler/testData/writeSignature/inlineClasses/genericMethodInsideClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassAsGenericArgument.kt")
|
||||
public void testInlineClassAsGenericArgument() throws Exception {
|
||||
runTest("compiler/testData/writeSignature/inlineClasses/inlineClassAsGenericArgument.kt");
|
||||
|
||||
+5
@@ -542,6 +542,11 @@ public class WriteSignatureTestGenerated extends AbstractWriteSignatureTest {
|
||||
runTest("compiler/testData/writeSignature/inlineClasses/genericInlineClassWithNotNullTypeParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericMethodInsideClass.kt")
|
||||
public void testGenericMethodInsideClass() throws Exception {
|
||||
runTest("compiler/testData/writeSignature/inlineClasses/genericMethodInsideClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassAsGenericArgument.kt")
|
||||
public void testInlineClassAsGenericArgument() throws Exception {
|
||||
runTest("compiler/testData/writeSignature/inlineClasses/inlineClassAsGenericArgument.kt");
|
||||
|
||||
Reference in New Issue
Block a user