Fix delegated property resolve when provideDelegate has this as argument

#KT-41135 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-08-18 09:43:17 +03:00
parent f3be3f449a
commit f2fba8a469
9 changed files with 67 additions and 1 deletions
@@ -8383,6 +8383,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
public void testPropertyMetadata() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/propertyMetadata.kt");
}
@TestMetadata("provideDelegateByExtensionFunction.kt")
public void testProvideDelegateByExtensionFunction() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/provideDelegateByExtensionFunction.kt");
}
}
}
@@ -8383,6 +8383,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testPropertyMetadata() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/propertyMetadata.kt");
}
@TestMetadata("provideDelegateByExtensionFunction.kt")
public void testProvideDelegateByExtensionFunction() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/provideDelegateByExtensionFunction.kt");
}
}
}
@@ -8383,6 +8383,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testPropertyMetadata() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/propertyMetadata.kt");
}
@TestMetadata("provideDelegateByExtensionFunction.kt")
public void testProvideDelegateByExtensionFunction() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/provideDelegateByExtensionFunction.kt");
}
}
}