[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:
committed by
Mikhail Glukhikh
parent
4ec369ac5b
commit
593fb8770b
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user