Open alexeyinkin opened 2 weeks ago
I've published a package with a macro: https://pub.dev/packages/args_macro When analyzing the package, pub.dev says it needs to enable the macros experiment:
macros
However, it's enabled in analysis_options:
include: package:total_lints/package.yaml analyzer: enable-experiment: - macros
Locally, dart analyze recognizes it.
dart analyze
Searching the macros topic, I can see others experimenting with macros too and having the same issue:
For some reason, the json package is not affected when analyzing it but is affected when checking the formatting:
Is there anything special that the json package does that other examples don't? If so, it needs to be documented.
Thanks for reporting this! pana analysis overrides the analysis-options, but we should enable the pass-through of this experiment.
pana
I've published a package with a macro: https://pub.dev/packages/args_macro When analyzing the package, pub.dev says it needs to enable the
macros
experiment:However, it's enabled in analysis_options:
Locally,
dart analyze
recognizes it.Searching the macros topic, I can see others experimenting with macros too and having the same issue:
For some reason, the json package is not affected when analyzing it but is affected when checking the formatting:
Is there anything special that the json package does that other examples don't? If so, it needs to be documented.