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.dill_library_builder; | 5 library fasta.dill_library_builder; |
6 | 6 |
7 import 'package:kernel/ast.dart' | 7 import 'package:kernel/ast.dart' |
8 show | 8 show |
9 Class, | 9 Class, |
10 ExpressionStatement, | 10 ExpressionStatement, |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 } | 102 } |
103 | 103 |
104 void addToScope(String name, Builder member) { | 104 void addToScope(String name, Builder member) { |
105 internalError("Not implemented yet."); | 105 internalError("Not implemented yet."); |
106 } | 106 } |
107 | 107 |
108 KernelInvalidTypeBuilder buildAmbiguousBuilder( | 108 KernelInvalidTypeBuilder buildAmbiguousBuilder( |
109 String name, Builder builder, Builder other, int charOffset) { | 109 String name, Builder builder, Builder other, int charOffset) { |
110 return new KernelInvalidTypeBuilder(name, charOffset, fileUri); | 110 return new KernelInvalidTypeBuilder(name, charOffset, fileUri); |
111 } | 111 } |
| 112 |
| 113 @override |
| 114 String get fullNameForErrors { |
| 115 return library.name ?? "<library '${library.fileUri}'>"; |
| 116 } |
112 } | 117 } |
OLD | NEW |