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

Unified Diff: dart/lib/compiler/implementation/patch_parser.dart

Issue 10870010: Evaluate compile-time constants of metadata. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review commens Created 8 years, 4 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: dart/lib/compiler/implementation/patch_parser.dart
diff --git a/dart/lib/compiler/implementation/patch_parser.dart b/dart/lib/compiler/implementation/patch_parser.dart
index 227b7f40e6a1426249f30706f5310f6a9d31b728..c5466eb1dfa1916fe30ab8bf385c228e973f9040 100644
--- a/dart/lib/compiler/implementation/patch_parser.dart
+++ b/dart/lib/compiler/implementation/patch_parser.dart
@@ -297,6 +297,9 @@ class PatchMemberListener extends MemberListener implements PatchListener {
}
// TODO(ahe): Get rid of this class.
+// Note: we never set [annotatedElement] for this class.
class PatchMetadataAnnotation extends MetadataAnnotation {
final Constant value = null;
+
+ PatchMetadataAnnotation() : super(ClassElement.STATE_DONE);
}

Powered by Google App Engine
This is Rietveld 408576698