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

Unified Diff: lib/compiler/implementation/tree/unparser.dart

Issue 11032019: Fit into 80 limit. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/tree/unparser.dart
diff --git a/lib/compiler/implementation/tree/unparser.dart b/lib/compiler/implementation/tree/unparser.dart
index ce8cec6294e9341f03f058ca6bcf301bc78f112c..a52545f076648f006c2deb06f738fdb524dcf9ea 100644
--- a/lib/compiler/implementation/tree/unparser.dart
+++ b/lib/compiler/implementation/tree/unparser.dart
@@ -269,7 +269,9 @@ class Unparser implements Visitor {
// Also add a space for sequences like x + +1 and y - -y.
if (opString === '-' || opString === '+') {
Token beginToken = node.argumentsNode.getBeginToken();
- if (beginToken !== null && beginToken.stringValue === opString) sb.add(' ');
+ if (beginToken !== null && beginToken.stringValue === opString) {
+ sb.add(' ');
+ }
}
visit(node.argumentsNode);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698