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

Unified Diff: pkg/front_end/lib/src/fasta/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
« no previous file with comments | « pkg/front_end/lib/src/fasta/quote.dart ('k') | pkg/front_end/lib/src/fasta/scanner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/run.dart
diff --git a/pkg/front_end/lib/src/fasta/run.dart b/pkg/front_end/lib/src/fasta/run.dart
index 6a3ef241cbe32913ba82f227b5041c70424addff..d7f812fe9232116afb5b2950892541ce63bc4f99 100644
--- a/pkg/front_end/lib/src/fasta/run.dart
+++ b/pkg/front_end/lib/src/fasta/run.dart
@@ -4,27 +4,21 @@
library fasta.run;
-import 'dart:async' show
- Future;
+import 'dart:async' show Future;
-import 'dart:io' show
- stdout;
+import 'dart:io' show stdout;
-import 'package:testing/testing.dart' show
- StdioProcess;
+import 'package:testing/testing.dart' show StdioProcess;
-import 'testing/kernel_chain.dart' show
- computeDartVm,
- computePatchedSdk;
+import 'testing/kernel_chain.dart' show computeDartVm, computePatchedSdk;
-import 'compiler_context.dart' show
- CompilerContext;
+import 'compiler_context.dart' show CompilerContext;
Future<int> run(Uri uri, CompilerContext c) async {
Uri sdk = await computePatchedSdk();
Uri dartVm = computeDartVm(sdk);
List<String> arguments = <String>["${uri.toFilePath()}"]
- ..addAll(c.options.arguments.skip(1));
+ ..addAll(c.options.arguments.skip(1));
if (c.options.verbose) {
print("Running ${dartVm.toFilePath()} ${arguments.join(' ')}");
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/quote.dart ('k') | pkg/front_end/lib/src/fasta/scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698