Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: pkg/analyzer/tool/summary/mini_ast.dart

Issue 2965393002: Use FastaMessage instead of String. Part 1. (Closed)
Patch Set: Add type variable to Code. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/compiler/lib/src/parser/element_listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ca4bace019eb707066b96e0c37f73ad74861b174..0d3651687af6861da3678000de0b9f4527c9c619 100644
--- a/pkg/analyzer/tool/summary/mini_ast.dart
+++ b/pkg/analyzer/tool/summary/mini_ast.dart
@@ -4,7 +4,7 @@
import 'package:front_end/src/fasta/deprecated_problems.dart'
show deprecated_internalProblem;
-import 'package:front_end/src/fasta/fasta_codes.dart' show FastaMessage;
+import 'package:front_end/src/fasta/messages.dart' show Message;
import 'package:front_end/src/fasta/parser/identifier_context.dart';
import 'package:front_end/src/fasta/parser/parser.dart';
import 'package:front_end/src/fasta/source/stack_listener.dart';
@@ -157,8 +157,8 @@ class MiniAstBuilder extends StackListener {
Uri get uri => null;
@override
- void addCompileTimeErrorFromMessage(FastaMessage message) {
- deprecated_internalProblem(message.message);
+ void addCompileTimeError(Message message, int charOffset) {
+ deprecated_internalProblem(message.message, uri, charOffset);
}
@override
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/compiler/lib/src/parser/element_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698