swift
6e34c90c - [6.2.1][TypeCheckEffects] AbstractFunction: Parameter types should be mapped… (#83954)

Commit
26 days ago
[6.2.1][TypeCheckEffects] AbstractFunction: Parameter types should be mapped… (#83954) … into context - Explanation: Parameter type could be represented by an associated type which is bound to a concrete type by an extension, `AbstractFunction::getType()` should map it into context before returning because the construct is that it always produces a function type. - Resolves: rdar://156955193 - Main Branch PR: https://github.com/swiftlang/swift/pull/83687 - Risk: Low. This is a very narrow fix that only affects situations when parameter type, represented by an associated type, is bound by an extension. - Reviewed By: @DougGregor - Testing: Added new test-cases to the suite. (cherry picked from commit 32b97d0e2ad67f66cadc77373d39a2f841b5c637) (cherry picked from commit 7f652915d9115202172b5cf2478a4cfb2a73f919) <!-- If this pull request is targeting a release branch, please fill out the following form: https://github.com/swiftlang/.github/blob/main/PULL_REQUEST_TEMPLATE/release.md?plain=1 Otherwise, replace this comment with a description of your changes and rationale. Provide links to external references/discussions if appropriate. If this pull request resolves any GitHub issues, link them like so: Resolves <link to issue>, resolves <link to another issue>. For more information about linking a pull request to an issue, see: https://docs.github.com/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue --> <!-- Before merging this pull request, you must run the Swift continuous integration tests. For information about triggering CI builds via @swift-ci, see: https://github.com/apple/swift/blob/main/docs/ContinuousIntegration.md#swift-ci Thank you for your contribution to Swift! -->
Author
Loading