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

Unified Diff: pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart

Issue 2710803002: Pass '=' to endNamedMixinApplication(). (Closed)
Patch Set: Update pkg/compiler too. Created 3 years, 10 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/compiler/lib/src/parser/node_listener.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/analyzer/ast_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart b/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
index b75cb180b3dd0acf1d9e30a0ea62442686a76683..2f9d3fec1fbf4fae042caf9e81f0419a6dfe1eee 100644
--- a/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
+++ b/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
@@ -842,7 +842,7 @@ class AstBuilder extends ScopeListener {
@override
void endNamedMixinApplication(
- Token beginToken, Token implementsKeyword, Token endToken) {
+ Token beginToken, Token equalsToken, Token implementsKeyword, Token endToken) {
ahe 2017/02/22 05:35:54 Long line.
debugEvent("NamedMixinApplication");
ImplementsClause implementsClause;
if (implementsKeyword != null) {
@@ -855,8 +855,7 @@ class AstBuilder extends ScopeListener {
var withClause = ast.withClause(
toAnalyzerToken(mixinApplication.withKeyword),
mixinApplication.mixinTypes);
- // TODO(paulberry,ahe): the parser should give us the "=" token.
- analyzer.Token equals;
+ analyzer.Token equals = toAnalyzerToken(equalsToken);
TypeParameterList typeParameters = pop();
SimpleIdentifier name = pop();
Token classKeyword;
« no previous file with comments | « pkg/compiler/lib/src/parser/node_listener.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