80db08809c
Ideally I think we should not use Expression.staticParameterElement to get back to the corresponding parameter of the invoked FunctionType, and do this check directly during resolution. R=brianwilkerson@google.com Change-Id: I6dbb5bf63f7eaad7f19b31129319e32dd4455acc Reviewed-on: https://dart-review.googlesource.com/c/77641 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>