bf3c716f36
This changes the BodyBuilder to create FunctionTypeParameter instead of FormalParameterBuilder for "parameters" in function types. This avoids the creation of unnecessary VariableDeclaration nodes function types. The types of these VariableDeclarations where created before the type variable scope was completed, introducing an artificial dependency on the pending nullability computation. Change-Id: Ie1203fa4c78a27f3e7a0dfad16725cbbde24a6a1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/381143 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Paul Berry <paulberry@google.com>