47e8d987b9
We shouldn't trigger declaration processing if we want to check just annotations/package/imports. But currently, we still will iterate over the entire file if there is an element somewhere inside package/import (see `fileImportInside.kt` test case) ^KT-65344 ^KT-65560 Fixed
23 lines
734 B
Plaintext
Vendored
23 lines
734 B
Plaintext
Vendored
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
|
|
|
|
FILE: [ResolvedTo(IMPORTS)] fileAnnotation.kt
|
|
@FILE:Anno[Unresolved]()
|
|
[ResolvedTo(RAW_FIR)] annotations container
|
|
@Target[Unresolved](LAZY_EXPRESSION) public final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
|
|
public? [ResolvedTo(RAW_FIR)] constructor(): R|Anno| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
} |