0579a9250a
This is the "next step" mentioned in https://dart-review.googlesource.com/c/sdk/+/141240. `List<UnresolvedType> typeArguments` were dropped (and null was passed) in several cases in `handleSend`, but they are needed in BodyBuilder.buildConstructorInvocation in the case where the receiver of the constructor invocation is a type alias. This CL ensures that the `typeArguments` are passed when needed, and a named parameter `isTypeArgumentsInForest` is passed in order to preserve the information about whether or not they have been to the `forest`. The CL also adjusts tests '{generic_,}usage_type_variable_*' to fit the decision made in language issue 848 that a type alias cannot be used for constructor invocations when it (directly or indirectly) denotes a type variable. Change-Id: I8d831457e35a7455f8fcfe461a10872c61555748 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/141543 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Erik Ernst <eernst@google.com>