Chromium Code Reviews| Index: pkg/compiler/lib/src/scanner/parser_task.dart |
| diff --git a/pkg/compiler/lib/src/scanner/parser_task.dart b/pkg/compiler/lib/src/scanner/parser_task.dart |
| index af9a013ee54851e2477d638cfeffabcb9a9216c1..e1675f9d22a66448661b53847eba59d2fa252104 100644 |
| --- a/pkg/compiler/lib/src/scanner/parser_task.dart |
| +++ b/pkg/compiler/lib/src/scanner/parser_task.dart |
| @@ -18,7 +18,7 @@ class ParserTask extends CompilerTask { |
| Parser parser = new Parser(listener); |
| try { |
| parser.parseUnit(token); |
| - } on ParserError catch (e) { |
|
Siggi Cherem (dart-lang)
2015/05/22 03:20:21
Weird - I didn't know the "catch" was optional her
Johnni Winther
2015/05/22 07:37:57
Neither did I nor dart2js. Leave these in and file
kevmoo
2015/05/22 15:39:02
Done
https://code.google.com/p/dart/issues/detail
|
| + } on ParserError { |
| assert(invariant(token, compiler.compilationFailed)); |
| return listener.makeNodeList(0, null, null, '\n'); |
| } |