Index: pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
index 4c66b028c3da7c0660ffff6b38c25c3d40d398e0..7bd1aa75dbc16110cd1c4c6dfefff61bf3e46cb6 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart |
@@ -1725,8 +1725,8 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper { |
void endFunctionType(Token functionToken, Token endToken) { |
debugEvent("FunctionType"); |
FormalParameters formals = pop(); |
- ignore(Unhandled.TypeVariables); |
DartType returnType = pop(); |
+ ignore(Unhandled.TypeVariables); |
push(formals.toFunctionType(returnType)); |
} |