Index: pkg/analyzer/tool/summary/mini_ast.dart |
diff --git a/pkg/analyzer/tool/summary/mini_ast.dart b/pkg/analyzer/tool/summary/mini_ast.dart |
index 19b8e2fb0cbab6ba09f5a4007944267bbec076ce..3fda95da1e5fb35f357590081e4e14bd5105c1eb 100644 |
--- a/pkg/analyzer/tool/summary/mini_ast.dart |
+++ b/pkg/analyzer/tool/summary/mini_ast.dart |
@@ -156,6 +156,11 @@ class MiniAstBuilder extends StackListener { |
Uri get uri => null; |
@override |
+ void addCompileTimeErrorFromMessage(FastaMessage message) { |
+ internalError(message.message); |
+ } |
+ |
+ @override |
void beginMetadata(Token token) { |
inMetadata = true; |
} |
@@ -433,11 +438,6 @@ class MiniAstBuilder extends StackListener { |
String name = pop(); |
push(new TypeName(name, typeArguments)); |
} |
- |
- @override |
- void addCompileTimeErrorFromMessage(FastaMessage message) { |
- internalError(message.message); |
- } |
} |
/// Parser intended for use with [MiniAstBuilder]. |