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:
committed by
Space Team
parent
ed2b817409
commit
8cc9f911d5
+6
@@ -26,6 +26,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true, "compileKotlinAgainstKotlin");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-57353.kt")
|
||||
public void testKt_57353() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/kt-57353.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+6
@@ -26,6 +26,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true, "compileKotlinAgainstKotlin");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-57353.kt")
|
||||
public void testKt_57353() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/kt-57353.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+6
@@ -26,6 +26,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true, "compileKotlinAgainstKotlin");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-57353.kt")
|
||||
public void testKt_57353() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/kt-57353.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+6
@@ -26,6 +26,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true, "compileKotlinAgainstKotlin");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt-57353.kt")
|
||||
public void testKt_57353() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/kt-57353.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user