Resolution / inference in ElementAnnotationImpl.annotationAst is incomplete #34894
Labels
area-dart-model
For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.
dart-model-analyzer-spec
Issues with the analyzer's implementation of the language spec
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
The following test, when added to
ClassResolutionMixin
, passes with task model, and fails with AnalysisDriver.The failure disappears if I move
class C {}
with its annotation into the test file.That's because we clone the annotation and store into the element model.
Which does not help to clients that use just element model and look at annotations from other files, possibly resynthesized from summaries.
The text was updated successfully, but these errors were encountered: