Chromium Code Reviews| 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 288b31a8f26771466b4933141f38f78dae896d55..c929e9281a645f0442d153ed51002fa6f9737c3c 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/tree/unparser.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/tree/unparser.dart |
| @@ -124,6 +124,13 @@ class Unparser extends Indentation implements Visitor { |
| write('}'); |
| } |
| + visitEnum(Enum node) { |
| + sb.write('enum '); |
| + visit(node.name); |
|
floitsch
2014/11/06 12:41:58
Why don't we need "{" and "}" here?
Johnni Winther
2014/11/06 12:49:41
It is in the NodeList [names].
|
| + sb.write(' '); |
| + visit(node.names); |
| + } |
| + |
| visitClassNode(ClassNode node) { |
| unparseClassWithBody(node, node.body.nodes); |
| } |