dartanalyzer (internal testing tool) --json
does not respect diagnostic suppression
#50757
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P1
A high priority bug; for example, a single project is unusable or has many test failures
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
If I place a
analysis_options.yaml
file in the root of the Dart SDK repo like this:and build the
dartanalyzer
tool, which is used bytools/test.py
, and run this command, I see errors which should be suppressed:But if I remove the
--format=json
, we see the errors correctly suppressed:The text was updated successfully, but these errors were encountered: