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

Side by Side Diff: pkg/front_end/lib/src/fasta/dill/dill_library_builder.dart

Issue 2767653002: Implement fullNameForErrors on all Builders. (Closed)
Patch Set: Used <unnamed> instead of empty string. Created 3 years, 9 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 unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698