Scripting, IR: fix capturing of implicit receiver

#KT-55068 fixed
This commit is contained in:
Ilya Chernikov
2022-12-09 14:43:24 +01:00
committed by Space Team
parent 07af2d807a
commit 42a0acac4f
4 changed files with 27 additions and 2 deletions
@@ -29,6 +29,11 @@ public class CustomScriptCodegenTestGenerated extends AbstractCustomScriptCodege
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/customScript"), Pattern.compile("^(.*)$"), null, true);
}
@TestMetadata("captureImplicitReceiverInDefaultValue.kts")
public void testCaptureImplicitReceiverInDefaultValue_kts() throws Exception {
runTest("compiler/testData/codegen/customScript/captureImplicitReceiverInDefaultValue.kts");
}
@TestMetadata("pathPattern5.kts")
public void testPathPattern5_kts() throws Exception {
runTest("compiler/testData/codegen/customScript/pathPattern5.kts");