[Analysis API] fix resolution to declarations inside kotlin*. packages
`kotlin*.` packages should be always allowed. `kotlin.` packages should be allowed if `AnalysisFlags.allowKotlinPackage` is `true` ^KT-63223 fixed
This commit is contained in:
committed by
Space Team
parent
d22218e4e4
commit
c54d83dcad
+12
@@ -0,0 +1,12 @@
|
||||
// FILE: a.kt
|
||||
package kotlinx.pckg
|
||||
|
||||
fun foo() {
|
||||
b<caret>ar()
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
package kotlinx.pckg
|
||||
|
||||
fun bar() {
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in kotlinx.pckg) fun bar()
|
||||
Reference in New Issue
Block a user