Do not map this when remapping parameters of static function inside

inline lambda.

 #KT-23543 Fixed
This commit is contained in:
Ilmir Usmanov
2018-11-29 16:59:18 +03:00
parent de33905c44
commit 5483ce0933
6 changed files with 107 additions and 4 deletions
@@ -1761,6 +1761,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/localFunInLambda"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("defaultParam.kt")
public void testDefaultParam() throws Exception {
runTest("compiler/testData/codegen/boxInline/localFunInLambda/defaultParam.kt");
}
@TestMetadata("lambdaInLambdaCapturesAnotherFun.kt")
public void testLambdaInLambdaCapturesAnotherFun() throws Exception {
runTest("compiler/testData/codegen/boxInline/localFunInLambda/lambdaInLambdaCapturesAnotherFun.kt");