Skip to content

AST dump does not reflect what the lint rules are visiting #58819

Open
@natebosch

Description

@natebosch

In dart-archive/linter#3592 I overlooked an obvious mistake in my implementation. I was confused because the AST that I saw in the test failure did not show the nodes I thought my visitor should be visiting.

@stereotype441 discovered that the AST dump in the failure is a fresh parse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-linterIssues with the analyzer's support for the linter packagetype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)type-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainabletype-test

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions