Index: pkg/compiler/lib/src/parser/node_listener.dart |
diff --git a/pkg/compiler/lib/src/parser/node_listener.dart b/pkg/compiler/lib/src/parser/node_listener.dart |
index 342bd4d9a6f0a8395e113317cd15ca47ecad3e7c..bb92072d2034706265516fd6bffbaea0686234b5 100644 |
--- a/pkg/compiler/lib/src/parser/node_listener.dart |
+++ b/pkg/compiler/lib/src/parser/node_listener.dart |
@@ -511,11 +511,11 @@ class NodeListener extends ElementListener { |
AsyncModifier asyncModifier = popNode(); |
NodeList initializers = popNode(); |
NodeList formals = popNode(); |
- NodeList typeVariables = popNode(); |
// The name can be an identifier or a send in case of named constructors. |
Expression name = popNode(); |
TypeAnnotation type = popNode(); |
Modifiers modifiers = popNode(); |
+ NodeList typeVariables = popNode(); |
pushNode(new FunctionDeclaration(new FunctionExpression(name, typeVariables, |
formals, body, type, modifiers, initializers, null, asyncModifier))); |
} |