Analyzer tests need to be updated once set literals are enabled by default #35870
Labels
legacy-area-analyzer
Use area-devexp instead.
P2
A bug or feature request we're likely to work on
type-code-health
Internal changes to our tools and workflows to make them cleaner, simpler, or more maintainable
https://dart-review.googlesource.com/c/sdk/+/92125 is the CL to enable set literals support. This causes a small number of analyzer test failures (marked with
@failingTest
in the CL). I suspect these failures are not due to real bugs, but rather due to tests making assumptions that will no longer be satisfied once set literals are enabled (e.g. assuming that{}
in a context expectingIterable
will result in an error). Assuming this is the case, the tests should be fixed and the@failingTest
annotation should be removed.If any of the failures are due to real bugs, those bugs will need to be fixed.
The text was updated successfully, but these errors were encountered: