Chromium Code Reviews| Index: lib/src/js/printer.dart |
| diff --git a/lib/src/js/printer.dart b/lib/src/js/printer.dart |
| index 0eb5ff8dd7f62f77a9eee5cf5a7fe56972413bc9..30288a7f211bcc3c322c22b4c46ca6cd9c5d429d 100644 |
| --- a/lib/src/js/printer.dart |
| +++ b/lib/src/js/printer.dart |
| @@ -1266,7 +1266,7 @@ class DanglingElseVisitor extends BaseVisitor<bool> { |
| bool visitLabeledStatement(LabeledStatement node) |
| => node.body.accept(this); |
| bool visitLiteralStatement(LiteralStatement node) => true; |
| - bool visitClassDeclaration(ClassDeclaration) => false; |
| + bool visitClassDeclaration(ClassDeclaration node) => false; |
|
Paul Berry
2015/06/01 22:00:45
Very cool that DDC caught this! Incidentally, we
|
| bool visitExpression(Expression node) => false; |
| } |