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

Unified Diff: frog/leg/ssa/nodes.dart

Issue 9642001: Make string juxtaposition combine properly with string interpolations. (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/leg/ssa/nodes.dart
diff --git a/frog/leg/ssa/nodes.dart b/frog/leg/ssa/nodes.dart
index 9dd66314586ceb17236b364d272782a0cbdf1980..ed2e0945e316bd2a8425f9fef188fc91203ebae9 100644
--- a/frog/leg/ssa/nodes.dart
+++ b/frog/leg/ssa/nodes.dart
@@ -1406,7 +1406,7 @@ class HAdd extends HBinaryArithmetic {
op2.isConstantNull());
otherString = new DartString.literal(op2.constant.value.toString());
}
- DartString cons = new ConsDartString(leftString, otherString);
+ DartString cons = new DartString.cons(leftString, otherString);
return graph.addConstantString(cons);
}
return super.fold(graph);

Powered by Google App Engine
This is Rietveld 408576698