[FIR] Fix lookup order for statics in super chains

The order was reversed and the static in the top-most class
in the inheritance hierarchy would be found instead of the
lowest one.
This commit is contained in:
Mads Ager
2021-01-29 11:51:54 +01:00
committed by Mikhail Glukhikh
parent 4ec369ac5b
commit 593fb8770b
7 changed files with 59 additions and 4 deletions
@@ -29277,6 +29277,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/statics/protectedStaticAndInline.kt");
}
@TestMetadata("simpleStaticInJavaSuperChain.kt")
public void testSimpleStaticInJavaSuperChain() throws Exception {
runTest("compiler/testData/codegen/box/statics/simpleStaticInJavaSuperChain.kt");
}
@TestMetadata("syntheticAccessor.kt")
public void testSyntheticAccessor() throws Exception {
runTest("compiler/testData/codegen/box/statics/syntheticAccessor.kt");