[LL FIR] ContextCollector: add tests for file package and imports
It reproduces redundant resolution ^KT-65344 ^KT-65560
This commit is contained in:
committed by
Space Team
parent
58ad26ee5b
commit
0c3a1dfd67
+24
@@ -0,0 +1,24 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Import name:Anno
|
||||
Qualified name: foo.Anno
|
||||
Is all under: false
|
||||
|
||||
FILE: [ResolvedTo(IMPORTS)] fileImportInside.kt
|
||||
@R|kotlin/annotation/Target|[Types](FILE#) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|foo/Anno| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user