Some analyzer tests fail due to message "No dart files found at <path>.dart" #45556
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
When https://dart-review.googlesource.com/c/sdk/+/193740 lands, the following analyzer tests will begin failing:
These tests fail because they cause the analyzer to output the message "No dart files found at .dart", whereas the test runner is expecting valid JSON. Prior to https://dart-review.googlesource.com/c/sdk/+/193740, the test runner was expecting analyzer "machine format", which it parsed using a regular expression; since "No dart files found at .dart" didn't match the regular expression, the test runner was treating this as meaning "no errors".
I'm not sure what the proper behavior of the analyzer should be for these tests, but simply ignoring the message and treating the test as passing seems like the wrong thing to do.
The text was updated successfully, but these errors were encountered: