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

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

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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: sdk/lib/_internal/compiler/implementation/tree/unparser.dart
diff --git a/sdk/lib/_internal/compiler/implementation/tree/unparser.dart b/sdk/lib/_internal/compiler/implementation/tree/unparser.dart
index 1f410c1657f0d3b561223f93fcbeda2736515cd4..3b60b533d64181cf953ab12c5bdc0cd8a4ec425a 100644
--- a/sdk/lib/_internal/compiler/implementation/tree/unparser.dart
+++ b/sdk/lib/_internal/compiler/implementation/tree/unparser.dart
@@ -139,7 +139,7 @@ class Unparser implements Visitor {
visitFunctionExpression(FunctionExpression node) {
// Check length to not print unnecessary whitespace.
- if (node.modifiers.nodes.length() > 0) {
+ if (node.modifiers.nodes.length > 0) {
visit(node.modifiers);
sb.add(' ');
}
@@ -334,7 +334,7 @@ class Unparser implements Visitor {
visitVariableDefinitions(VariableDefinitions node) {
visit(node.modifiers);
- if (node.modifiers.nodes.length() > 0) {
+ if (node.modifiers.nodes.length > 0) {
sb.add(' ');
}
if (node.type != null) {

Powered by Google App Engine
This is Rietveld 408576698