Index: pkg/analyzer/test/generated/parser_fasta_test.dart |
diff --git a/pkg/analyzer/test/generated/parser_fasta_test.dart b/pkg/analyzer/test/generated/parser_fasta_test.dart |
index c14ef270805c8cde6e014664a6f78e2bfbad8900..0141ea0924e682936a9e4e4c633be1e1818a865f 100644 |
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart |
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart |
@@ -12,6 +12,7 @@ import 'package:analyzer/src/fasta/element_store.dart'; |
import 'package:analyzer/src/generated/parser.dart' as analyzer; |
import 'package:analyzer/src/generated/utilities_dart.dart'; |
import 'package:analyzer/src/string_source.dart'; |
+import 'package:front_end/src/fasta/fasta_codes.dart' show Message; |
import 'package:front_end/src/fasta/kernel/kernel_builder.dart'; |
import 'package:front_end/src/fasta/kernel/kernel_library_builder.dart'; |
import 'package:front_end/src/fasta/parser/identifier_context.dart' |
@@ -796,6 +797,12 @@ class KernelLibraryBuilderProxy implements KernelLibraryBuilder { |
fail('$message'); |
} |
+ @override |
+ void addCompileTimeError(Message message, int charOffset, Uri uri, |
+ {bool silent: false, bool wasHandled: false}) { |
+ fail('${message.message}'); |
+ } |
+ |
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
} |