[JS_IR] Don't capture the bound receiver of a CR

This commit is contained in:
Igor Chevdar
2020-03-25 21:49:50 +03:00
parent 643e581448
commit 90abf1fda0
8 changed files with 67 additions and 14 deletions
@@ -2065,6 +2065,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/callableReference/bound/companionObjectReceiver.kt");
}
@TestMetadata("dontShareReceiver.kt")
public void testDontShareReceiver() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/dontShareReceiver.kt");
}
@TestMetadata("emptyLHS.kt")
public void testEmptyLHS() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/emptyLHS.kt");