We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_Visitor.visitBinaryExpression
const
List
1 parent 212e49f commit bf8a9c1Copy full SHA for bf8a9c1
pkg/linter/lib/src/rules/prefer_contains.dart
@@ -69,7 +69,7 @@ class _Visitor extends SimpleAstVisitor<void> {
69
@override
70
void visitBinaryExpression(BinaryExpression node) {
71
// This lint rule is only concerned with these operators.
72
- if (!node.operator.matchesAny([
+ if (!node.operator.matchesAny(const [
73
TokenType.EQ_EQ,
74
TokenType.BANG_EQ,
75
TokenType.GT,
0 commit comments