JVM IR: Copy type parameters from outer class to suspendImpl

Previously we copied only type parameters from containing class, but we
need to do that for outer classes as well.
 #KT-55125
This commit is contained in:
Ilmir Usmanov
2023-02-07 16:01:10 +01:00
committed by Space Team
parent 5cd817955b
commit b262070922
5 changed files with 38 additions and 2 deletions
@@ -10807,6 +10807,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/coroutines/suspendImplTypeParameters.kt");
}
@Test
@TestMetadata("suspendImplTypeParametersOuterClass.kt")
public void testSuspendImplTypeParametersOuterClass() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/suspendImplTypeParametersOuterClass.kt");
}
@Test
@TestMetadata("suspendInCycle.kt")
public void testSuspendInCycle() throws Exception {