Index: pkg/front_end/lib/src/fasta/builder/prefix_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/builder/prefix_builder.dart b/pkg/front_end/lib/src/fasta/builder/prefix_builder.dart |
index 58abbc637470930d9f5ecca6a3f6cf3af5927269..fc9cafdd52fbc04ba8b3c614db5874a84a6919f1 100644 |
--- a/pkg/front_end/lib/src/fasta/builder/prefix_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/builder/prefix_builder.dart |
@@ -4,22 +4,15 @@ |
library fasta.prefix_builder; |
-import 'builder.dart' show |
- Builder, |
- LibraryBuilder, |
- MemberBuilder; |
+import 'builder.dart' show Builder, LibraryBuilder, MemberBuilder; |
-import '../messages.dart' show |
- warning; |
+import '../messages.dart' show warning; |
-import 'package:kernel/ast.dart' show |
- Member; |
+import 'package:kernel/ast.dart' show Member; |
-import '../dill/dill_member_builder.dart' show |
- DillMemberBuilder; |
+import '../dill/dill_member_builder.dart' show DillMemberBuilder; |
-import '../errors.dart' show |
- internalError; |
+import '../errors.dart' show internalError; |
class PrefixBuilder extends Builder { |
final String name; |
@@ -29,14 +22,15 @@ class PrefixBuilder extends Builder { |
final LibraryBuilder parent; |
PrefixBuilder(this.name, this.exports, LibraryBuilder parent, int charOffset) |
- : parent = parent, super(parent, charOffset, parent.fileUri); |
+ : parent = parent, |
+ super(parent, charOffset, parent.fileUri); |
Member findTopLevelMember(String name) { |
// TODO(ahe): Move this to KernelPrefixBuilder. |
Builder builder = exports[name]; |
if (builder == null) { |
- warning(parent.fileUri, -1, |
- "'${this.name}' has no member named '$name'."); |
+ warning( |
+ parent.fileUri, -1, "'${this.name}' has no member named '$name'."); |
} |
if (builder is DillMemberBuilder) { |
return builder.member.isInstanceMember |
@@ -49,8 +43,8 @@ class PrefixBuilder extends Builder { |
} |
} |
- Builder combineAmbiguousImport(String name, Builder other, |
- LibraryBuilder library) { |
+ Builder combineAmbiguousImport( |
+ String name, Builder other, LibraryBuilder library) { |
if (other is PrefixBuilder) { |
/// Handles the case where the same prefix is used for different imports. |
other.exports.forEach((String name, Builder member) { |