FIR: temp: make klib symbol provider know parent packages

Current qualified access resolving algo rely (likely incorrectly,
see #KT-58037) on a providers' "knowledge" about parent packages.
This commit adds this "knowledge" to k-lib based provider.
#KT-57353 fixed
This commit is contained in:
Ilya Chernikov
2023-03-22 17:03:19 +01:00
committed by Space Team
parent ed2b817409
commit 8cc9f911d5
18 changed files with 114 additions and 6 deletions
@@ -31,6 +31,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true, "ranges/stepped", "compileKotlinAgainstKotlin", "testsWithJava9", "testsWithJava15", "testsWithJava17");
}
@TestMetadata("kt-57353.kt")
public void testKt_57353() throws Exception {
runTest("compiler/testData/codegen/box/kt-57353.kt");
}
@TestMetadata("compiler/testData/codegen/box/annotations")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)