Analyzer doesn't allow type parameter declarations as diagnostic targets in macros #55611
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
feature-macros
Implementation of the macros feature
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
I tried adding this to the top of the
buildDeclarationsForClass
implementation intests/language/macros/Json/json_serializable.dart
:But it fails with the following error:
The text was updated successfully, but these errors were encountered: