Index: pkg/front_end/lib/src/fasta/source/directive_listener.dart |
diff --git a/pkg/front_end/lib/src/fasta/source/directive_listener.dart b/pkg/front_end/lib/src/fasta/source/directive_listener.dart |
index 03e0426592d1ca44b93e4823fc8f870668c1da2b..dcb47292ee24f1075a2240fafc5912844932ff2a 100644 |
--- a/pkg/front_end/lib/src/fasta/source/directive_listener.dart |
+++ b/pkg/front_end/lib/src/fasta/source/directive_listener.dart |
@@ -7,7 +7,7 @@ |
library front_end.src.fasta.source.directive_listener; |
import '../../scanner/token.dart' show Token; |
-import '../fasta_codes.dart' show FastaMessage, codeExpectedBlockToSkip; |
+import '../fasta_codes.dart' show Message, codeExpectedBlockToSkip; |
import '../parser/identifier_context.dart'; |
import '../parser/listener.dart'; |
import '../quote.dart'; |
@@ -113,7 +113,7 @@ class DirectiveListener extends Listener { |
Token handleNativeClause(Token token) => null; |
@override |
- Token handleUnrecoverableError(Token token, FastaMessage message) { |
+ Token handleUnrecoverableError(Token token, Message message) { |
if (message.code == codeExpectedBlockToSkip) { |
Token recover = handleNativeClause(token); |
if (recover != null) return recover; |