Chromium Code Reviews| Index: lib/compiler/implementation/tree/unparser.dart |
| diff --git a/lib/compiler/implementation/tree/unparser.dart b/lib/compiler/implementation/tree/unparser.dart |
| index 9c7a23e6b727aa87a4e0287ae00ff88a23580d25..8a905b214a85f4630052d6b7c32395ea715fb7ee 100644 |
| --- a/lib/compiler/implementation/tree/unparser.dart |
| +++ b/lib/compiler/implementation/tree/unparser.dart |
| @@ -107,6 +107,8 @@ class Unparser implements Visitor { |
| if (!send.isOperator) { |
| // Looks like a factory method. |
| sb.add('.'); |
| + } else { |
| + if (send.selector.token.stringValue === 'negate') sb.add(' '); |
|
ahe
2012/08/02 13:39:39
if (send.selector.token.kind === KEYWORD_TOKEN) ..
Anton Muhin
2012/08/06 09:20:09
Done.
|
| } |
| visit(send.selector); |
| } else { |
| @@ -119,7 +121,7 @@ class Unparser implements Visitor { |
| visitIdentifier(Identifier node) { |
| String newName = renamer.renameIdentifier(node); |
| - if (newName == null) { |
| + if (newName === null) { |
| add(node.token.value); |
| } else { |
| sb.add(newName); |