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
@@ -14546,16 +14546,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Jvm8 extends AbstractLightAnalysisModeTest {
@TestMetadata("kt29242.kt")
public void ignoreKt29242() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/kt29242.kt");
}
@TestMetadata("kt33054.kt")
public void ignoreKt33054() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/kt33054.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -14629,6 +14619,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/jvm8/kt16588.kt");
}
@TestMetadata("kt29242.kt")
public void testKt29242() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/kt29242.kt");
}
@TestMetadata("kt33054.kt")
public void testKt33054() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/kt33054.kt");
}
@TestMetadata("kt6301.kt")
public void testKt6301() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/kt6301.kt");