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); |