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
+11
@@ -0,0 +1,11 @@
|
||||
// MODULE: lib
|
||||
// FILE: lib.kt
|
||||
package my.lib.pkg
|
||||
|
||||
object Foo {
|
||||
fun ok() = "OK"
|
||||
}
|
||||
|
||||
// MODULE: main(lib)
|
||||
// FILE: main.kt
|
||||
fun box(): String = my.lib.pkg.Foo.ok()
|
||||
Reference in New Issue
Block a user