linter
linter copied to clipboard
AST dump does not reflect what the lint rules are visiting
In https://github.com/dart-lang/linter/pull/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.