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

Unified Diff: frog/leg/ssa/codegen.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: Addressed review comments. 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/codegen.dart
diff --git a/frog/leg/ssa/codegen.dart b/frog/leg/ssa/codegen.dart
index b2ba7656c1f4a0436d151207817e6cda5585dccd..bf34ae9e006151c8a5f49ef05ad0c543de660fb5 100644
--- a/frog/leg/ssa/codegen.dart
+++ b/frog/leg/ssa/codegen.dart
@@ -144,6 +144,7 @@ class SsaCodeGenerator implements HVisitor {
buffer.add('(');
}
}
+
void endExpression(int precedence) {
if (precedence < expectedPrecedence) {
buffer.add(')');
@@ -671,7 +672,7 @@ class SsaCodeGenerator implements HVisitor {
} else {
buffer.add(compiler.namer.CURRENT_ISOLATE);
buffer.add(".");
- buffer.add(name);
+ buffer.add(name);
}
}

Powered by Google App Engine
This is Rietveld 408576698