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

Unified Diff: frog/value.dart

Issue 9700016: Allow interpolated strings and adjacent strings to be compile-time constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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: frog/value.dart
diff --git a/frog/value.dart b/frog/value.dart
index f470ae9afd4ee0c5df0f894b1d8e1b94f93cd011..7268e160ce4a37ce4a530a2bdc285b042b64ae20 100644
--- a/frog/value.dart
+++ b/frog/value.dart
@@ -904,6 +904,11 @@ class EvaluatedValue extends Value implements Hashable {
span);
}
+ get actualValue() {
+ world.internalError('Should not be getting actual value '
+ 'from raw EvaluatedValue', span);
+ }
+
bool get needsTemp() => false;
EvaluatedValue get constValue() => this;
@@ -1248,7 +1253,6 @@ class StringValue extends EvaluatedValue {
}
}
-
class ListValue extends EvaluatedValue {
final List<Value> values;
« frog/gen.dart ('K') | « frog/minfrog ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698