Skip to content

Analyzer tests need to be updated once set literals are enabled by default #35870

Closed
@stereotype441

Description

@stereotype441

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 expecting Iterable 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.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onlegacy-area-analyzerUse area-devexp instead.type-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainable

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions