Index: pkg/front_end/lib/src/fasta/source/outline_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/source/outline_builder.dart b/pkg/front_end/lib/src/fasta/source/outline_builder.dart |
index 01c8502e7fe8b1917fa30f97cc4bfd014199940e..43f0f3b32c7aeadc929acbb1fd545608f519957d 100644 |
--- a/pkg/front_end/lib/src/fasta/source/outline_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/source/outline_builder.dart |
@@ -788,6 +788,12 @@ class OutlineBuilder extends UnhandledListener { |
} |
@override |
+ void addCompileTimeErrorFromMessage(FastaMessage message) { |
+ library.addCompileTimeError(message.charOffset, message.message, |
+ fileUri: message.uri); |
+ } |
+ |
+ @override |
Link<Token> handleMemberName(Link<Token> identifiers) { |
if (!isDartLibrary || identifiers.isEmpty) return identifiers; |
return removeNativeClause(identifiers); |