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

Unified Diff: pkg/front_end/lib/src/fasta/bin/run.dart

Issue 2718113003: Run dartfmt on pkg/front_end/lib. (Closed)
Patch Set: Rerun after merging. Created 3 years, 10 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/front_end/lib/src/fasta/bin/run.dart
diff --git a/pkg/front_end/lib/src/fasta/bin/run.dart b/pkg/front_end/lib/src/fasta/bin/run.dart
index 8585fa1cc158108ab6f14bfad23e760b9fc5491f..501a26b8f0cbc132137edf4a2d5a0fd15e43688b 100644
--- a/pkg/front_end/lib/src/fasta/bin/run.dart
+++ b/pkg/front_end/lib/src/fasta/bin/run.dart
@@ -2,44 +2,36 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'dart:io' show
- exit,
- exitCode;
+import 'dart:io' show exit, exitCode;
-import 'package:front_end/src/fasta/ast_kind.dart' show
- AstKind;
+import 'package:front_end/src/fasta/ast_kind.dart' show AstKind;
-import 'package:front_end/src/fasta/compiler_command_line.dart' show
- CompilerCommandLine;
+import 'package:front_end/src/fasta/compiler_command_line.dart'
+ show CompilerCommandLine;
-import 'package:front_end/src/fasta/compiler_context.dart' show
- CompilerContext;
+import 'package:front_end/src/fasta/compiler_context.dart' show CompilerContext;
-import 'package:front_end/src/fasta/outline.dart' show
- doCompile;
+import 'package:front_end/src/fasta/outline.dart' show doCompile;
-import 'package:front_end/src/fasta/errors.dart' show
- InputError;
+import 'package:front_end/src/fasta/errors.dart' show InputError;
-import 'package:front_end/src/fasta/run.dart' show
- run;
+import 'package:front_end/src/fasta/run.dart' show run;
-import 'package:front_end/src/fasta/ticker.dart' show
- Ticker;
+import 'package:front_end/src/fasta/ticker.dart' show Ticker;
const int iterations = const int.fromEnvironment("iterations", defaultValue: 1);
main(List<String> arguments) async {
Uri uri;
for (int i = 0; i < iterations; i++) {
- await CompilerCommandLine.withGlobalOptions(
- "run", arguments, (CompilerContext c) async {
+ await CompilerCommandLine.withGlobalOptions("run", arguments,
+ (CompilerContext c) async {
if (i > 0) {
print("\n");
}
try {
- uri = await doCompile(c, new Ticker(isVerbose: c.options.verbose),
- AstKind.Kernel);
+ uri = await doCompile(
+ c, new Ticker(isVerbose: c.options.verbose), AstKind.Kernel);
} on InputError catch (e) {
print(e.format());
exit(1);
« no previous file with comments | « pkg/front_end/lib/src/fasta/bin/log_collector.dart ('k') | pkg/front_end/lib/src/fasta/builder/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698