Linter allows compare different enums #58653
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-false-negative
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Describe the issue
Linter allows comparing different enums, despite
unrelated_type_equality_checks
enabledTo Reproduce
Expected behavior
Linter shows unrelated types error
Version
Dart SDK version: 2.16.0 (stable) (Mon Jan 31 15:28:59 2022 +0100) on "macos_x64"
The text was updated successfully, but these errors were encountered: