Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(955)

Unified Diff: pkg/compiler/lib/src/serialization/element_serialization.dart

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {
« no previous file with comments | « pkg/compiler/lib/src/resolution/type_resolver.dart ('k') | pkg/compiler/lib/src/serialization/equivalence.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698