Index: pkg/compiler/lib/src/types/flat_type_mask.dart |
diff --git a/pkg/compiler/lib/src/types/flat_type_mask.dart b/pkg/compiler/lib/src/types/flat_type_mask.dart |
index 7a1dea2578d0e0d3b5c0025c5629eac57b44b852..1bd4289461864ac188a47c81ff17ab46895339d4 100644 |
--- a/pkg/compiler/lib/src/types/flat_type_mask.dart |
+++ b/pkg/compiler/lib/src/types/flat_type_mask.dart |
@@ -526,7 +526,8 @@ class FlatTypeMask implements TypeMask { |
} |
} |
- bool needsNoSuchMethodHandling(Selector selector, ClosedWorld closedWorld) { |
+ bool needsNoSuchMethodHandling( |
+ Selector selector, covariant ClosedWorld closedWorld) { |
// A call on an empty type mask is either dead code, or a call on |
// `null`. |
if (isEmptyOrNull) return false; |