| Index: lib/compiler/implementation/tree/unparser.dart
|
| diff --git a/lib/compiler/implementation/tree/unparser.dart b/lib/compiler/implementation/tree/unparser.dart
|
| index 972e41860049cf9daf5cc6f9f2661af09e011e86..221a5e59ffe6496027adc12380ec3c88ffdce83d 100644
|
| --- a/lib/compiler/implementation/tree/unparser.dart
|
| +++ b/lib/compiler/implementation/tree/unparser.dart
|
| @@ -220,6 +220,8 @@ class Unparser implements Visitor {
|
| if (node.constKeyword !== null) add(node.constKeyword.value);
|
| visit(node.typeArguments);
|
| visit(node.elements);
|
| + // If list is empty, emit space after [] to disambiguate cases like []==[].
|
| + if (node.elements.isEmpty()) sb.add(' ');
|
| }
|
|
|
| visitModifiers(Modifiers node) => node.visitChildren(this);
|
|
|