Index: pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
diff --git a/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart b/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
index 284146755742d255563266ccbac642cedc7e08db..b0ccafac469d7f4874a1e291a07c7352226e6191 100644 |
--- a/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
+++ b/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart |
@@ -99,7 +99,7 @@ class JavaScriptConstantTask extends ConstantCompilerTask { |
// TODO(johnniwinther): Remove this when values are computed from the |
// expressions. |
@override |
- void copyConstantValues(JavaScriptConstantTask task) { |
+ void copyConstantValues(covariant JavaScriptConstantTask task) { |
jsConstantCompiler.constantValueMap |
.addAll(task.jsConstantCompiler.constantValueMap); |
dartConstantCompiler.constantValueMap |