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

Unified Diff: pkg/front_end/lib/src/fasta/source/diet_parser.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
Index: pkg/front_end/lib/src/fasta/source/diet_parser.dart
diff --git a/pkg/front_end/lib/src/fasta/source/diet_parser.dart b/pkg/front_end/lib/src/fasta/source/diet_parser.dart
index 35b9da2b44bfd414bf077797cf6df7e07bde2950..82251320e134808dd493a41be37673ad3c933444 100644
--- a/pkg/front_end/lib/src/fasta/source/diet_parser.dart
+++ b/pkg/front_end/lib/src/fasta/source/diet_parser.dart
@@ -16,8 +16,7 @@ import '../parser/parser.dart' show optional;
// TODO(ahe): Move this to parser package.
class DietParser extends ClassMemberParser {
- DietParser(Listener listener, {bool asyncAwaitKeywordsEnabled: false})
- : super(listener, asyncAwaitKeywordsEnabled: asyncAwaitKeywordsEnabled);
+ DietParser(Listener listener) : super(listener);
Token parseFormalParameters(Token token, {bool inFunctionType: false}) {
return skipFormals(token);
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser/top_level_parser.dart ('k') | tests/compiler/dart2js/type_checker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698