avoid_implementing_value_types false positives #58042
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
customer-google3
devexp-linter
Issues with the analyzer's support for the linter package
linter-false-positive
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Types that implement something in the
dart:html
package that descend fromInterceptor
cause false positives in this lint, becauseInterceptor
hasObject
-like implementations ofoperator==
andhashCode
, making all these classes look like value types to the lint.e.g.
class MockHttpRequest extends Mock implements HttpRequest {}
should not violate this lint.Likely the lint needs to special case
Interceptor
.The text was updated successfully, but these errors were encountered: