Chromium Code Reviews| Index: lib/src/dart_formatter.dart |
| diff --git a/lib/src/dart_formatter.dart b/lib/src/dart_formatter.dart |
| index 5b59faa366d5ca85b9b1c0bbadd86fdb858b3a2c..e7c5b5e95ae5da2abc1dad922a9052b490fd178f 100644 |
| --- a/lib/src/dart_formatter.dart |
| +++ b/lib/src/dart_formatter.dart |
| @@ -147,6 +147,7 @@ class DartFormatter { |
| // Parse it. |
| var parser = new Parser(stringSource, errorListener); |
| parser.parseAsync = true; |
| + parser.parseEnum = true; |
|
pquitslund
2015/01/08 04:49:25
Depending on what version of the analyzer we're pu
Bob Nystrom
2015/01/08 17:35:35
Right now dart_style is constrained to an older ve
|
| var node; |
| if (source.isCompilationUnit) { |