| Index: lib/compiler/implementation/tree/unparser.dart
|
| diff --git a/lib/compiler/implementation/tree/unparser.dart b/lib/compiler/implementation/tree/unparser.dart
|
| index fc1d85fdd750e6d6fd46f5d776a0c661d6b44b50..663872f3e2164fa90b58bbf7b38374d47806546d 100644
|
| --- a/lib/compiler/implementation/tree/unparser.dart
|
| +++ b/lib/compiler/implementation/tree/unparser.dart
|
| @@ -276,13 +276,14 @@ class Unparser implements Visitor {
|
| }
|
|
|
| visitVariableDefinitions(VariableDefinitions node) {
|
| + visit(node.modifiers);
|
| + if (node.modifiers.nodes.length() > 0) {
|
| + sb.add(' ');
|
| + }
|
| if (node.type !== null) {
|
| visit(node.type);
|
| - } else {
|
| - sb.add('var');
|
| + sb.add(' ');
|
| }
|
| - sb.add(' ');
|
| - // TODO(karlklose): print modifiers.
|
| visit(node.definitions);
|
| if (node.endToken.value == const SourceString(';')) {
|
| add(node.endToken.value);
|
|
|