[LL FIR] LLFirTargetResolver: do not resolve file annotation container before each declaration
We don't have to resolve `FirFileAnnotationsContainer` before each declaration. This became possible after KT-65345 as now `FirDesignation` has `FirFile` in its path so, `PersistenceContextCollector#collectContext` resolves it as well as we don't have problems with unresolved annotations during diagnostics processing ^KT-65876
This commit is contained in:
committed by
Space Team
parent
dc898fdf5c
commit
fe4ead751f
+17
-17
@@ -13,64 +13,64 @@ FILE: [ResolvedTo(IMPORTS)] annotations.kt
|
||||
COMPILER_REQUIRED_ANNOTATIONS:
|
||||
FILE: [ResolvedTo(IMPORTS)] annotations.kt
|
||||
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)
|
||||
[ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] annotations container
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
@Suppress[Unresolved](LAZY_EXPRESSION) public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
|
||||
COMPANION_GENERATION:
|
||||
FILE: [ResolvedTo(IMPORTS)] annotations.kt
|
||||
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)
|
||||
[ResolvedTo(COMPANION_GENERATION)] annotations container
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
@Suppress[Unresolved](LAZY_EXPRESSION) public? final? [ResolvedTo(COMPANION_GENERATION)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
|
||||
SUPER_TYPES:
|
||||
FILE: [ResolvedTo(IMPORTS)] annotations.kt
|
||||
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)
|
||||
[ResolvedTo(SUPER_TYPES)] annotations container
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
@Suppress[Unresolved](LAZY_EXPRESSION) public? final? [ResolvedTo(SUPER_TYPES)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
|
||||
TYPES:
|
||||
FILE: [ResolvedTo(IMPORTS)] annotations.kt
|
||||
@FILE:R|kotlin/Suppress|[Types](LAZY_EXPRESSION)
|
||||
[ResolvedTo(TYPES)] annotations container
|
||||
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
@R|kotlin/Suppress|[Types](LAZY_EXPRESSION) public? final? [ResolvedTo(TYPES)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
|
||||
STATUS:
|
||||
FILE: [ResolvedTo(IMPORTS)] annotations.kt
|
||||
@FILE:R|kotlin/Suppress|[Types](LAZY_EXPRESSION)
|
||||
[ResolvedTo(STATUS)] annotations container
|
||||
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
@R|kotlin/Suppress|[Types](LAZY_EXPRESSION) public final [ResolvedTo(STATUS)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
|
||||
EXPECT_ACTUAL_MATCHING:
|
||||
FILE: [ResolvedTo(IMPORTS)] annotations.kt
|
||||
@FILE:R|kotlin/Suppress|[Types](LAZY_EXPRESSION)
|
||||
[ResolvedTo(EXPECT_ACTUAL_MATCHING)] annotations container
|
||||
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
@R|kotlin/Suppress|[Types](LAZY_EXPRESSION) public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
|
||||
CONTRACTS:
|
||||
FILE: [ResolvedTo(IMPORTS)] annotations.kt
|
||||
@FILE:R|kotlin/Suppress|[Types](LAZY_EXPRESSION)
|
||||
[ResolvedTo(CONTRACTS)] annotations container
|
||||
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
@R|kotlin/Suppress|[Types](LAZY_EXPRESSION) public final [ResolvedTo(CONTRACTS)] fun resolveMe(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
IMPLICIT_TYPES_BODY_RESOLVE:
|
||||
FILE: [ResolvedTo(IMPORTS)] annotations.kt
|
||||
@FILE:R|kotlin/Suppress|[Types](LAZY_EXPRESSION)
|
||||
[ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] annotations container
|
||||
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
@R|kotlin/Suppress|[Types](LAZY_EXPRESSION) public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun resolveMe(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
ANNOTATION_ARGUMENTS:
|
||||
FILE: [ResolvedTo(IMPORTS)] annotations.kt
|
||||
@FILE:R|kotlin/Suppress|[Types](names = vararg(String(1)))
|
||||
[ResolvedTo(ANNOTATION_ARGUMENTS)] annotations container
|
||||
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
@R|kotlin/Suppress|[Types](names = vararg(String(2))) public final [ResolvedTo(ANNOTATION_ARGUMENTS)] fun resolveMe(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
BODY_RESOLVE:
|
||||
FILE: [ResolvedTo(IMPORTS)] annotations.kt
|
||||
@FILE:R|kotlin/Suppress|[Types](names = vararg(String(1)))
|
||||
[ResolvedTo(ANNOTATION_ARGUMENTS)] annotations container
|
||||
@FILE:Suppress[Unresolved](LAZY_EXPRESSION)
|
||||
[ResolvedTo(RAW_FIR)] annotations container
|
||||
@R|kotlin/Suppress|[Types](names = vararg(String(2))) public final [ResolvedTo(BODY_RESOLVE)] fun resolveMe(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user