Index: pkg/compiler/lib/src/constants/expressions.dart |
diff --git a/pkg/compiler/lib/src/constants/expressions.dart b/pkg/compiler/lib/src/constants/expressions.dart |
index 905ac3a0e5430863d66f1d2317055481c1e02795..159488ab4364e7bb89b0f9374f5b1b93012736c6 100644 |
--- a/pkg/compiler/lib/src/constants/expressions.dart |
+++ b/pkg/compiler/lib/src/constants/expressions.dart |
@@ -98,7 +98,7 @@ abstract class ConstantExpression { |
int get hashCode => _hashCode ??= _computeHashCode(); |
- bool _equals(ConstantExpression other); |
+ bool _equals(covariant ConstantExpression other); |
bool operator ==(other) { |
if (identical(this, other)) return true; |