Index: pkg/analyzer/lib/src/fasta/ast_builder.dart |
diff --git a/pkg/analyzer/lib/src/fasta/ast_builder.dart b/pkg/analyzer/lib/src/fasta/ast_builder.dart |
index a89d71dcb3f755add8de24d1ca53e0cd11efee5c..6ddfb19219a4cd0724ccbed58719d1293223775c 100644 |
--- a/pkg/analyzer/lib/src/fasta/ast_builder.dart |
+++ b/pkg/analyzer/lib/src/fasta/ast_builder.dart |
@@ -772,8 +772,8 @@ class AstBuilder extends ScopeListener { |
void endFunctionType(Token functionToken, Token semicolon) { |
debugEvent("FunctionType"); |
FormalParameterList parameters = pop(); |
- TypeParameterList typeParameters = pop(); |
TypeAnnotation returnType = pop(); |
+ TypeParameterList typeParameters = pop(); |
push(ast.genericFunctionType( |
returnType, functionToken, typeParameters, parameters)); |
} |