Index: sdk/lib/_internal/compiler/implementation/js/printer.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js/printer.dart b/sdk/lib/_internal/compiler/implementation/js/printer.dart |
index a21e7139ecedc68ca218ff648b00a04543d393a9..1cf97a3e180362ebf70e2e757a800bb55d6bb95a 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js/printer.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js/printer.dart |
@@ -456,7 +456,7 @@ class Printer implements NodeVisitor { |
(requiredPrecedence != EXPRESSION && |
node.precedenceLevel < requiredPrecedence) || |
// for (a = (x in o); ... ; ... ) { ... } |
- (newInForInit && node is Binary && (node as Binary).op == "in") || |
+ (newInForInit && node is Binary && node.op == "in") || |
// (function() { ... })(). |
// ({a: 2, b: 3}.toString()). |
(newAtStatementBegin && (node is NamedFunction || |