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

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

Issue 574683002: Use ConstExp for storing constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove ConstExpBuilder. Created 6 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: sdk/lib/_internal/compiler/implementation/patch_parser.dart
diff --git a/sdk/lib/_internal/compiler/implementation/patch_parser.dart b/sdk/lib/_internal/compiler/implementation/patch_parser.dart
index 2e7c4234ddc7e2dacb8b191ad9d932da9ecef15b..aed81be045e4b7760627ceb9452de44f9ec7e72a 100644
--- a/sdk/lib/_internal/compiler/implementation/patch_parser.dart
+++ b/sdk/lib/_internal/compiler/implementation/patch_parser.dart
@@ -328,7 +328,8 @@ abstract class EagerAnnotationHandler {
// [Compiler.onLibrariesLoaded].
compiler.enqueuer.resolution.addDeferredAction(element, () {
annotation.ensureResolved(compiler);
- handler.validate(compiler, element, annotation, annotation.value);
+ handler.validate(
+ compiler, element, annotation, annotation.constant.value);
});
return true;
}

Powered by Google App Engine
This is Rietveld 408576698