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

Unified Diff: dart/lib/compiler/implementation/world.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/world.dart
diff --git a/dart/lib/compiler/implementation/world.dart b/dart/lib/compiler/implementation/world.dart
index 9e8dfe3f1288aa224201d615da8f0b3c95fbe728..1d87875dbb61eb73fcc357163dd50700e96c979e 100644
--- a/dart/lib/compiler/implementation/world.dart
+++ b/dart/lib/compiler/implementation/world.dart
@@ -10,7 +10,7 @@ class World {
void populate(Compiler compiler) {
void addSubtypes(ClassElement cls) {
- if (cls.resolutionState != ClassElement.STATE_DONE) {
+ if (cls.resolutionState != STATE_DONE) {
compiler.internalErrorOnElement(
cls, 'Class "${cls.name.slowToString()}" is not resolved.');
}

Powered by Google App Engine
This is Rietveld 408576698