IR: use map in remapTypeParameters
In LocalDeclarationLowering, the moved local function does not necessarily receive a continuous chunk of type parameters that it captures.
This commit is contained in:
+5
@@ -11797,6 +11797,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/functions/recursiveIncrementCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeParametersInLocalFunction.kt")
|
||||
public void testTypeParametersInLocalFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/typeParametersInLocalFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/functions/bigArity")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Reference in New Issue
Block a user