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

Unified Diff: pkg/front_end/lib/src/fasta/parser/listener.dart

Issue 2985673002: Parse type variables of local functions before return type. (Closed)
Patch Set: 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
Index: pkg/front_end/lib/src/fasta/parser/listener.dart
diff --git a/pkg/front_end/lib/src/fasta/parser/listener.dart b/pkg/front_end/lib/src/fasta/parser/listener.dart
index db6e902d7676535d36ad6c7ecad93be60d3d20f7..22a8c4b486800378bbba1a8fc661bc6569037405 100644
--- a/pkg/front_end/lib/src/fasta/parser/listener.dart
+++ b/pkg/front_end/lib/src/fasta/parser/listener.dart
@@ -281,7 +281,8 @@ class Listener {
logEvent("NamedFunctionExpression");
}
- /// Handle the beginning of a local function declaration.
+ /// Handle the beginning of a local function declaration. Substructures:
+ /// - Type variables
void beginLocalFunctionDeclaration(Token token) {}
/// A function declaration.

Powered by Google App Engine
This is Rietveld 408576698