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

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

Issue 574683002: Use ConstExp for storing constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. 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/elements/elements.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index 0b6c7f8ada1b16e20f5177915284818a110b769e..d0fba41d751d01721c63f92d4c0fce1ec62db520 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -5,6 +5,7 @@
library elements;
+import '../cps_ir/const_expression.dart';
import '../tree/tree.dart';
import '../util/util.dart';
import '../resolution/resolution.dart';
@@ -1427,7 +1428,7 @@ abstract class TypeVariableElement extends Element
abstract class MetadataAnnotation implements Spannable {
/// The front-end constant of this metadata annotation.
- Constant get value;
+ ConstExp get constant;
Element get annotatedElement;
int get resolutionState;
Token get beginToken;

Powered by Google App Engine
This is Rietveld 408576698