Skip to content

Analyzer diagnostics pages show incorrect analysis options files per context #61393

@srawlins

Description

@srawlins

if I have a directory structure like:

dir/
  analysis_options.yaml
  inner/
    analysis_options.yaml
  inner2/
    analysis_options.yaml

When I look at the context page for dir/inner2/analysis_options, it indicates 3 analysis options files:

  • dir/analysis_options.yaml
  • dir/inner/analysis_options.yaml
  • dir/inner2/analysis_options.yaml

The second one should not be there are all. In fact, the first one shouldn't either, as, as far as I know, analysis options in parent directories do not come into play in child directories.

Metadata

Metadata

Assignees

Labels

P3A lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-serverIssues related to some aspect of the analysis servertype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions