Skip to content

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Oct 6, 2025

  • Look through InstanceType while attempting to diagnose conformance failures

    Matching existential types could introduce InstanceType element
    at the end of the locator path, it's okay to look through them to
    diagnose the underlying issue.

  • Diagnose an attempt to match non-existential type to an existential one

Resolves: #83991
Resolves: rdar://159401910

xedin added 2 commits October 5, 2025 23:57
… conformance failures

Matching existential types could introduce `InstanceType` element
at the end of the locator path, it's okay to look through them to
diagnose the underlying issue.
@xedin xedin requested review from kavon and hborla as code owners October 6, 2025 16:54
@xedin
Copy link
Contributor Author

xedin commented Oct 6, 2025

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Oct 7, 2025

@swift-ci please smoke test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to produce diagnostic for invalid metatype to existential metatype conversion
2 participants