Index: pkg/compiler/lib/src/resolution/send_structure.dart |
diff --git a/pkg/compiler/lib/src/resolution/send_structure.dart b/pkg/compiler/lib/src/resolution/send_structure.dart |
index fa8eb683ae429592e87ab88a4960e55e1314f9dc..6ab2d0673dfd3a94ab5eac80e14fb8cef5c8eaf5 100644 |
--- a/pkg/compiler/lib/src/resolution/send_structure.dart |
+++ b/pkg/compiler/lib/src/resolution/send_structure.dart |
@@ -20,7 +20,7 @@ import 'semantic_visitor.dart'; |
/// node. |
abstract class SemanticSendStructure<R, A> { |
/// Calls the matching visit method on [visitor] with [node] and [arg]. |
- R dispatch(SemanticSendVisitor<R, A> visitor, Node node, A arg); |
+ R dispatch(SemanticSendVisitor<R, A> visitor, covariant Node node, A arg); |
} |
enum SendStructureKind { |