[JS IR] Support external delegation in case of JS in psi2ir

- fix FE delegation resolver
 - fix critical KT-40650
This commit is contained in:
Roman Artemev
2020-07-28 14:18:57 +03:00
committed by romanart
parent c254651ed3
commit 0559e192ee
6 changed files with 53 additions and 3 deletions
@@ -1211,6 +1211,11 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
runTest("js/js.translator/testData/box/delegation/delegationByArg.kt");
}
@TestMetadata("delegationByCompanionToNothing.kt")
public void testDelegationByCompanionToNothing() throws Exception {
runTest("js/js.translator/testData/box/delegation/delegationByCompanionToNothing.kt");
}
@TestMetadata("delegationByExprWithArgs.kt")
public void testDelegationByExprWithArgs() throws Exception {
runTest("js/js.translator/testData/box/delegation/delegationByExprWithArgs.kt");
@@ -1211,6 +1211,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/delegation/delegationByArg.kt");
}
@TestMetadata("delegationByCompanionToNothing.kt")
public void testDelegationByCompanionToNothing() throws Exception {
runTest("js/js.translator/testData/box/delegation/delegationByCompanionToNothing.kt");
}
@TestMetadata("delegationByExprWithArgs.kt")
public void testDelegationByExprWithArgs() throws Exception {
runTest("js/js.translator/testData/box/delegation/delegationByExprWithArgs.kt");
@@ -1211,6 +1211,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/delegation/delegationByArg.kt");
}
@TestMetadata("delegationByCompanionToNothing.kt")
public void testDelegationByCompanionToNothing() throws Exception {
runTest("js/js.translator/testData/box/delegation/delegationByCompanionToNothing.kt");
}
@TestMetadata("delegationByExprWithArgs.kt")
public void testDelegationByExprWithArgs() throws Exception {
runTest("js/js.translator/testData/box/delegation/delegationByExprWithArgs.kt");