f930d674ca
It doesn't work to make TypeParameterElement.type choose nullability/non-nullability based on the enclosing library, because for type parameters of synthetic function types, there is no enclosing library. Change-Id: Ic74cc639534e3c03f3c46e7eacfb5655ca74019a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/102981 Auto-Submit: Paul Berry <paulberry@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>