d41e419904
These fixes also prepare for an upcoming change to normalize FutureOr types. - Cache and emit the hoisted function type at the top level without nullability wrappers. - Always emit nullability wrappers at the use site. - Fix issue where sometimes the return type would be double wrapped. Change-Id: If4a0c94e62eca626f271cc3c259c813911075d9a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136404 Reviewed-by: Mark Zhou <markzipan@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>