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

Unified Diff: pkg/front_end/lib/src/fasta/messages.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/loader.dart ('k') | pkg/front_end/lib/src/fasta/modifier.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/messages.dart
diff --git a/pkg/front_end/lib/src/fasta/messages.dart b/pkg/front_end/lib/src/fasta/messages.dart
index 06f217e26ac339b250e4f6e1f323248ffa9e3c4d..5e03fd567f3ccdc53bd2af68e25f6be28535d8d6 100644
--- a/pkg/front_end/lib/src/fasta/messages.dart
+++ b/pkg/front_end/lib/src/fasta/messages.dart
@@ -4,22 +4,15 @@
library fasta.messages;
-import 'package:kernel/ast.dart' show
- Location,
- Program;
+import 'package:kernel/ast.dart' show Location, Program;
-import 'util/relativize.dart' show
- relativizeUri;
+import 'util/relativize.dart' show relativizeUri;
-import 'compiler_context.dart' show
- CompilerContext;
+import 'compiler_context.dart' show CompilerContext;
-import 'errors.dart' show
- InputError;
+import 'errors.dart' show InputError;
-import 'colors.dart' show
- cyan,
- magenta;
+import 'colors.dart' show cyan, magenta;
const bool hideNits = false;
@@ -68,8 +61,8 @@ String colorNit(String message) {
String format(Uri uri, int charOffset, String message) {
if (uri != null) {
String path = relativizeUri(uri);
- String position = charOffset == -1
- ? path : "${getLocation(path, charOffset)}";
+ String position =
+ charOffset == -1 ? path : "${getLocation(path, charOffset)}";
return "$position: $message";
} else {
return message;
« no previous file with comments | « pkg/front_end/lib/src/fasta/loader.dart ('k') | pkg/front_end/lib/src/fasta/modifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698