Index: pkg/analyzer/lib/src/generated/error_verifier.dart |
diff --git a/pkg/analyzer/lib/src/generated/error_verifier.dart b/pkg/analyzer/lib/src/generated/error_verifier.dart |
index ddd4d53609f926db8add5cb18085675189a9ca26..4a0fae048a9b5d52d369dce498b39be98cead620 100644 |
--- a/pkg/analyzer/lib/src/generated/error_verifier.dart |
+++ b/pkg/analyzer/lib/src/generated/error_verifier.dart |
@@ -309,7 +309,8 @@ class ErrorVerifier extends RecursiveAstVisitor<Object> { |
sc.TokenType operatorType = node.operator.type; |
Expression lhs = node.leftHandSide; |
Expression rhs = node.rightHandSide; |
- if (operatorType == sc.TokenType.EQ) { |
+ if (operatorType == sc.TokenType.EQ || |
+ operatorType == sc.TokenType.QUESTION_QUESTION_EQ) { |
_checkForInvalidAssignment(lhs, rhs); |
} else { |
_checkForInvalidCompoundAssignment(node, lhs, rhs); |