Files
kotlin-fork/analysis/low-level-api-fir/testdata/getOrBuildFir/invalidCode/incompletePropertyWithAnnotation.txt
T
Kirill Rakhman bed6cb7154 [FIR] Make FirFile.annotationsContainer nullable
Previously, when no file annotations were present, the FIR element
didn't have a source.
By making it nullable, it will only be created when appropriate and the
source will never be null.

#KT-55835
2023-07-20 07:29:18 +00:00

13 lines
872 B
Plaintext

KT element: KtConstructorCalleeExpression
FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@<ERROR TYPE REF: Symbol not found for Volatile>[Types]()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] incompletePropertyWithAnnotation.kt
@<ERROR TYPE REF: Symbol not found for Volatile>[Types]() private final [ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)] var <no name provided>: <ERROR TYPE REF: Cannot infer variable type without initializer / getter / delegate>
private [ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)] get(): <ERROR TYPE REF: Cannot infer variable type without initializer / getter / delegate>
private [ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)] set([ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)] value: <ERROR TYPE REF: Cannot infer variable type without initializer / getter / delegate>): R|kotlin/Unit|