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

Unified Diff: pkg/front_end/lib/src/fasta/builder/type_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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/builder/type_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/type_builder.dart b/pkg/front_end/lib/src/fasta/builder/type_builder.dart
index 8f0065e421272af1f7ba936d70b368fb75e2476c..1777fd686167d0b9422af8d75bb4538414b4d5ea 100644
--- a/pkg/front_end/lib/src/fasta/builder/type_builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/type_builder.dart
@@ -29,4 +29,11 @@ abstract class TypeBuilder extends Builder {
TypeBuilder subst(Map<TypeVariableBuilder, TypeBuilder> substitution) => this;
build(LibraryBuilder library);
+
+ @override
+ String get fullNameForErrors {
+ StringBuffer sb = new StringBuffer();
+ printOn(sb);
+ return "$sb";
+ }
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/scope.dart ('k') | pkg/front_end/lib/src/fasta/builder/type_declaration_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698