JVM IR: Ignore class type parameters if function is static
Otherwise, it leads to type parameters duplication in case of suspendImpls, since they inherit type parameters from containing class. #KT-56407: Fixed
This commit is contained in:
committed by
Space Team
parent
c7bc439661
commit
e42efe1ee6
+6
@@ -8352,6 +8352,12 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/kt55494.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56407.kt")
|
||||
public void testKt56407() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/kt56407.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastExpressionIsLoop.kt")
|
||||
public void testLastExpressionIsLoop() throws Exception {
|
||||
|
||||
+6
@@ -8263,6 +8263,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/coroutines/kt55494.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56407.kt")
|
||||
public void testKt56407() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/kt56407.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lastExpressionIsLoop.kt")
|
||||
public void testLastExpressionIsLoop() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user