Index: pkg/front_end/lib/src/fasta/kernel/kernel_variable_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_variable_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_variable_builder.dart |
index a6c29f5244b138d0fdd9cfd3cf2d0db83a4be340..f4e29240bd24974a54c279e4140abd0f42a21bc7 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_variable_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_variable_builder.dart |
@@ -19,4 +19,7 @@ class KernelVariableBuilder extends Builder { |
bool get isLocal => true; |
VariableDeclaration get target => variable; |
+ |
+ @override |
+ String get fullNameForErrors => variable.name ?? "<unnamed>"; |
} |