Index: lib/compiler/implementation/js/printer.dart |
diff --git a/lib/compiler/implementation/js/printer.dart b/lib/compiler/implementation/js/printer.dart |
index 02982ff318ba1a638d75048dd44de75072780e6b..17f25c4325efe43348bc1f04ab72685e942541f1 100644 |
--- a/lib/compiler/implementation/js/printer.dart |
+++ b/lib/compiler/implementation/js/printer.dart |
@@ -331,7 +331,7 @@ class Printer implements NodeVisitor { |
visitNestedExpression(node.expression, EXPRESSION, |
newInForInit: false, newAtStatementBegin: false); |
outLn(":"); |
- if (!node.body.statements.isEmpty()) { |
+ if (!node.body.statements.isEmpty) { |
indentLevel++; |
blockOutWithoutBraces(node.body); |
indentLevel--; |
@@ -340,7 +340,7 @@ class Printer implements NodeVisitor { |
visitDefault(Default node) { |
outIndentLn("default:"); |
- if (!node.body.statements.isEmpty()) { |
+ if (!node.body.statements.isEmpty) { |
indentLevel++; |
blockOutWithoutBraces(node.body); |
indentLevel--; |
@@ -945,7 +945,7 @@ class MinifyRenamer implements Namer { |
String declareName(String oldName) { |
const LETTERS = 52; |
const DIGITS = 10; |
- if (maps.isEmpty()) return oldName; |
+ if (maps.isEmpty) return oldName; |
String newName; |
int n = nameNumber; |