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

Unified Diff: runtime/vm/parser.cc

Issue 9694024: - Allow string interpolation in constant strings. (Closed) Base URL: http://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: runtime/vm/parser.cc
===================================================================
--- runtime/vm/parser.cc (revision 5372)
+++ runtime/vm/parser.cc (working copy)
@@ -7669,9 +7669,6 @@
(CurrentToken() == Token::kINTERPOL_START)) {
AstNode* expr = NULL;
const intptr_t expr_pos = token_index_;
- // TODO(hausner): Remove the statement below when we allow interpolated
- // strings to be compile time constants.
- is_compiletime_const = false;
if (CurrentToken() == Token::kINTERPOL_VAR) {
expr = ResolveVarOrField(token_index_, *CurrentLiteral());
ASSERT(!expr->IsPrimaryNode());
« no previous file with comments | « no previous file | tests/co19/co19-runtime.status » ('j') | tests/language/src/AdjacentConstStringLiteralsTest.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698