Index: tests/compiler/dart2js/sourcemaps/diff_view.dart |
diff --git a/tests/compiler/dart2js/sourcemaps/diff_view.dart b/tests/compiler/dart2js/sourcemaps/diff_view.dart |
index ba0b5a1049399d7570d2334dbb01b63b0d6270a0..b0b2b69773f1cdb4ef271c967f6b1f48bb15da53 100644 |
--- a/tests/compiler/dart2js/sourcemaps/diff_view.dart |
+++ b/tests/compiler/dart2js/sourcemaps/diff_view.dart |
@@ -145,7 +145,7 @@ class CodeLineAnnotationJsonStrategy implements JsonStrategy { |
} |
@override |
- encodeLineAnnotation(CodeSource lineAnnotation) { |
+ encodeLineAnnotation(covariant CodeSource lineAnnotation) { |
if (lineAnnotation != null) { |
return lineAnnotation.toJson(); |
} |