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

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

Issue 1302333006: Support metadata on patches. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove partial renaming Created 5 years, 3 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/modelz.dart
diff --git a/pkg/compiler/lib/src/serialization/modelz.dart b/pkg/compiler/lib/src/serialization/modelz.dart
index a0ba0a8d5db71215630c33e98619e37e37229745..507819c3994fbf41157cbf55f2348dcba0ea93a3 100644
--- a/pkg/compiler/lib/src/serialization/modelz.dart
+++ b/pkg/compiler/lib/src/serialization/modelz.dart
@@ -159,7 +159,7 @@ abstract class ElementZ extends Element with ElementCommon {
// TODO(johnniwinther): Support metadata.
@override
- Link<MetadataAnnotation> get metadata => const Link<MetadataAnnotation>();
+ Iterable<MetadataAnnotation> get metadata => const <MetadataAnnotation>[];
@override
Element get outermostEnclosingMemberOrTopLevel {

Powered by Google App Engine
This is Rietveld 408576698