Index: pkg/compiler/lib/src/serialization/element_serialization.dart |
diff --git a/pkg/compiler/lib/src/serialization/element_serialization.dart b/pkg/compiler/lib/src/serialization/element_serialization.dart |
index 0e5c562fc1340392372c47992c9b34b830bbd65b..5fa61a0fbd8413a1585ffe0d1c6d1fabf5c0600b 100644 |
--- a/pkg/compiler/lib/src/serialization/element_serialization.dart |
+++ b/pkg/compiler/lib/src/serialization/element_serialization.dart |
@@ -102,8 +102,8 @@ abstract class ElementSerializer { |
/// Serializes [element] into the [encoder] using the [kind] computed |
/// by [getSerializedKind]. |
- void serialize( |
- Element element, ObjectEncoder encoder, SerializedElementKind kind); |
+ void serialize(covariant Element element, ObjectEncoder encoder, |
+ SerializedElementKind kind); |
} |
class SerializerUtil { |