Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1968)

Unified Diff: pkg/compiler/lib/src/parser/diet_parser_task.dart

Issue 1859343004: dartfmt pkg/compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/parser/diet_parser_task.dart
diff --git a/pkg/compiler/lib/src/parser/diet_parser_task.dart b/pkg/compiler/lib/src/parser/diet_parser_task.dart
index d2db818f48ffa10dc4a6b5283b88233a8d484465..cccf1c6dd70358671a0c51a30a8bc13ccc7e2f55 100644
--- a/pkg/compiler/lib/src/parser/diet_parser_task.dart
+++ b/pkg/compiler/lib/src/parser/diet_parser_task.dart
@@ -5,24 +5,15 @@
library dart2js.parser.diet.task;
import '../common.dart';
-import '../common/tasks.dart' show
- CompilerTask;
-import '../compiler.dart' show
- Compiler;
-import '../elements/elements.dart' show
- CompilationUnitElement;
-import '../tokens/token.dart' show
- Token;
+import '../common/tasks.dart' show CompilerTask;
+import '../compiler.dart' show Compiler;
+import '../elements/elements.dart' show CompilationUnitElement;
+import '../tokens/token.dart' show Token;
-import 'listener.dart' show
- ParserError;
-import 'element_listener.dart' show
- ElementListener,
- ScannerOptions;
-import '../options.dart' show
- ParserOptions;
-import 'partial_parser.dart' show
- PartialParser;
+import 'listener.dart' show ParserError;
+import 'element_listener.dart' show ElementListener, ScannerOptions;
+import '../options.dart' show ParserOptions;
+import 'partial_parser.dart' show PartialParser;
class DietParserTask extends CompilerTask {
final ParserOptions _parserOptions;
@@ -41,7 +32,7 @@ class DietParserTask extends CompilerTask {
PartialParser parser = new PartialParser(listener, _parserOptions);
try {
parser.parseUnit(tokens);
- } on ParserError catch(_) {
+ } on ParserError catch (_) {
assert(invariant(compilationUnit, compiler.compilationFailed));
}
});
« no previous file with comments | « pkg/compiler/lib/src/parser/class_element_parser.dart ('k') | pkg/compiler/lib/src/parser/element_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698