45e7ff28e1
Previously, we only stored a reference to the originating Typedef declaration and is thus loosing the originating type arguments. We need these type arguments in various places, including diagnostics and bounds checks. Note: this CL maintains backwards compatibility wrt to the Dart API of FunctionType. I'll update the API in a follow-up CL. Change-Id: I896ce3c3b4522d542a82c5036f8a17ee098143dc Reviewed-on: https://dart-review.googlesource.com/c/81367 Commit-Queue: Peter von der Ahé <ahe@google.com> Auto-Submit: Peter von der Ahé <ahe@google.com> Reviewed-by: Kevin Millikin <kmillikin@google.com>