Index: pkg/compiler/lib/src/js_emitter/metadata_collector.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/metadata_collector.dart b/pkg/compiler/lib/src/js_emitter/metadata_collector.dart |
index 681626f63fe93ea72e55db86df646d4e3772d374..e2573c6407bd9a0d4ed788171f2fa9628c564ea9 100644 |
--- a/pkg/compiler/lib/src/js_emitter/metadata_collector.dart |
+++ b/pkg/compiler/lib/src/js_emitter/metadata_collector.dart |
@@ -78,7 +78,7 @@ class _BoundMetadataEntry extends _MetadataEntry { |
if (_rc == 1) entry.accept(visitor); |
} |
- int compareTo(_MetadataEntry other) => other._rc - this._rc; |
+ int compareTo(covariant _MetadataEntry other) => other._rc - this._rc; |
} |
abstract class Placeholder implements jsAst.DeferredNumber { |