Fix delegated property resolve with intermediate ID provideDelegate

#KT-37406 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-04-09 03:33:35 +03:00
parent 0262e9de2f
commit a7b959b88b
14 changed files with 100 additions and 11 deletions
@@ -8001,6 +8001,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@TestMetadata("delegatedPropertyWithIdProvideDelegate.kt")
public void testDelegatedPropertyWithIdProvideDelegate() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/delegatedPropertyWithIdProvideDelegate.kt");
}
@TestMetadata("differentReceivers.kt")
public void testDifferentReceivers() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/differentReceivers.kt");
@@ -8001,6 +8001,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
}
@TestMetadata("delegatedPropertyWithIdProvideDelegate.kt")
public void testDelegatedPropertyWithIdProvideDelegate() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/delegatedPropertyWithIdProvideDelegate.kt");
}
@TestMetadata("differentReceivers.kt")
public void testDifferentReceivers() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/differentReceivers.kt");