Index: pkg/front_end/lib/src/fasta/source/stack_listener.dart |
diff --git a/pkg/front_end/lib/src/fasta/source/stack_listener.dart b/pkg/front_end/lib/src/fasta/source/stack_listener.dart |
index e35f1414648748af5a528d18f33f91e200b20008..c133b207ab13676aa3108f8596bc63df7bffbfff 100644 |
--- a/pkg/front_end/lib/src/fasta/source/stack_listener.dart |
+++ b/pkg/front_end/lib/src/fasta/source/stack_listener.dart |
@@ -247,6 +247,8 @@ abstract class StackListener extends Listener { |
super.handleRecoverableError(token, message); |
} |
+ void addCompileTimeErrorFromMessage(FastaMessage message); |
+ |
@override |
Token handleUnrecoverableError(Token token, FastaMessage message) { |
throw inputError(uri, token.charOffset, message.message); |