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