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

Unified Diff: pkg/analyzer/lib/src/summary/fasta/summary_builder.dart

Issue 2759623003: Track async state in parser. (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
diff --git a/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart b/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
index 499ebaeb5562fe86205530dc4673094ddeeef5ed..0d360fa5ba54f2fbeb6905d25b284b2707facd0b 100644
--- a/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
+++ b/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
@@ -98,7 +98,7 @@ class ConstExpressionBuilder extends ExpressionListener {
final Uri uri;
Parser parser;
ConstExpressionBuilder(this.uri) {
- parser = new Parser(this, asyncAwaitKeywordsEnabled: true);
+ parser = new Parser(this);
}
bool get forConst => true;
@@ -610,7 +610,7 @@ class InitializerBuilder extends ExpressionListener {
int _inArguments = 0;
InitializerBuilder(this.uri) {
- parser = new Parser(this, asyncAwaitKeywordsEnabled: true);
+ parser = new Parser(this);
}
bool get ignore => super.ignore || _inArguments > 0;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698