Use descriptor from resolved call to inline accessors

In case of inline it should be same descriptor (except of fake override), In general case getter could be synthetic accessor and in such case it's not inline
This commit is contained in:
Mikhael Bogdanov
2019-11-25 08:38:38 +01:00
parent 320c5f6f00
commit cf6f823d29
10 changed files with 69 additions and 13 deletions
@@ -2684,6 +2684,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/property/augAssignmentAndIncViaConvention.kt");
}
@TestMetadata("fromObject.kt")
public void testFromObject() throws Exception {
runTest("compiler/testData/codegen/boxInline/property/fromObject.kt");
}
@TestMetadata("kt22649.kt")
public void testKt22649() throws Exception {
runTest("compiler/testData/codegen/boxInline/property/kt22649.kt");