linter icon indicating copy to clipboard operation
linter copied to clipboard

AST dump does not reflect what the lint rules are visiting

Open natebosch opened this issue 2 years ago • 0 comments

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.

natebosch avatar Aug 12 '22 20:08 natebosch