c7f3020fc6
The extracted code mostly chooses which ErrorCode to report, and does not do resolution logic itself. So, I think it will make the resolver itself cleaner to keep it separately. R=brianwilkerson@google.com Change-Id: Idc6b652028ddb11913d5cd5c8273299ed94e7079 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/129987 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>