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

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

Issue 10870010: Evaluate compile-time constants of metadata. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased and use const instead of final 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/closure.dart
diff --git a/dart/lib/compiler/implementation/closure.dart b/dart/lib/compiler/implementation/closure.dart
index fea23ff155a5c90055f4a072ed3fc44082e07a4c..6782e1585c1404e3071146afd4283ef39634e8f7 100644
--- a/dart/lib/compiler/implementation/closure.dart
+++ b/dart/lib/compiler/implementation/closure.dart
@@ -67,7 +67,7 @@ class ClosureClassElement extends ClassElement {
// is unique, but also emit closure classes after all other
// classes (since the emitter sorts classes by their id).
compiler.getNextFreeClassId(),
- ClassElement.STATE_DONE) {
+ STATE_DONE) {
compiler.closureClass.ensureResolved(compiler);
supertype = compiler.closureClass.computeType(compiler);
interfaces = const EmptyLink<Type>();

Powered by Google App Engine
This is Rietveld 408576698