OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library fasta.prefix_builder; | 5 library fasta.prefix_builder; |
6 | 6 |
7 import 'builder.dart' show Builder, LibraryBuilder, MemberBuilder; | 7 import 'builder.dart' show Builder, LibraryBuilder, MemberBuilder; |
8 | 8 |
9 import '../messages.dart' show warning; | 9 import '../messages.dart' show warning; |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 Builder existing = exports[name]; | 51 Builder existing = exports[name]; |
52 if (existing != null) { | 52 if (existing != null) { |
53 member = existing.combineAmbiguousImport(name, member, library); | 53 member = existing.combineAmbiguousImport(name, member, library); |
54 } | 54 } |
55 exports[name] = member; | 55 exports[name] = member; |
56 }); | 56 }); |
57 return this; | 57 return this; |
58 } | 58 } |
59 return super.combineAmbiguousImport(name, other, library); | 59 return super.combineAmbiguousImport(name, other, library); |
60 } | 60 } |
| 61 |
| 62 @override |
| 63 String get fullNameForErrors => name; |
61 } | 64 } |
OLD | NEW |