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

Unified Diff: pkg/front_end/lib/src/fasta/parser/class_member_parser.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/front_end/lib/src/fasta/messages.dart ('k') | pkg/front_end/lib/src/fasta/parser/listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/parser/class_member_parser.dart
diff --git a/pkg/front_end/lib/src/fasta/parser/class_member_parser.dart b/pkg/front_end/lib/src/fasta/parser/class_member_parser.dart
index 5de363edd91d007f7d7aedba4a1a7c2dcfeb94d1..22e27d40b2e064d3da2ce5ebd7c3db2ddcae68cd 100644
--- a/pkg/front_end/lib/src/fasta/parser/class_member_parser.dart
+++ b/pkg/front_end/lib/src/fasta/parser/class_member_parser.dart
@@ -6,7 +6,7 @@ library fasta.parser.class_member_parser;
import '../../scanner/token.dart' show Token;
-import '../fasta_codes.dart' show FastaMessage;
+import '../fasta_codes.dart' show Message;
import 'listener.dart' show Listener;
@@ -29,7 +29,8 @@ class ClassMemberParser extends Parser {
}
}
- Token parseRecoverExpression(Token token, FastaMessage message) {
+ @override
+ Token parseRecoverExpression(Token token, Message message) {
Token begin = token;
token = skipExpression(token);
listener.handleRecoverExpression(begin, message);
« no previous file with comments | « pkg/front_end/lib/src/fasta/messages.dart ('k') | pkg/front_end/lib/src/fasta/parser/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698