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

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

Issue 2969053002: Implement type variables on old style function-typed formal parameters. (Closed)
Patch Set: Add comment. 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/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/compiler/lib/src/parser/node_listener.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 5233cd5f01b8db4ee5d8eb5af71ad5d7f34d1a3e..6425913c2dfb326d64cbc880578941205e5a9a29 100644
--- a/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
+++ b/pkg/analyzer/lib/src/summary/fasta/summary_builder.dart
@@ -1073,15 +1073,14 @@ class SummaryBuilder extends StackListener {
_addNameIfPublic(name, ReferenceKind.typedef, typeVariables.length);
}
- void endFunctionTypedFormalParameter(
- Token thisKeyword, FormalParameterType kind) {
+ void endFunctionTypedFormalParameter() {
debugEvent("FunctionTypedFormalParameter");
List<UnlinkedParamBuilder> formals = pop();
if (formals != null) formals.forEach((p) => p.inheritsCovariantSlot = null);
- /* List typeVariables = */ pop();
String name = pop();
EntityRef returnType = pop();
+ /* List typeVariables = */ pop();
/* int modifiers = */ pop();
List metadata = pop();
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/compiler/lib/src/parser/node_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698