Skip to content

Sema: Fix crash in type resolution when tuple type contains type variables #78893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 25, 2025

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Jan 24, 2025

This can happen when we're generating constraints and resolving the type annotations written in a closure expression. Just skip the non-copyable check in this case since there's not enough information to make a decision.

Fixes rdar://problem/143031466.
Fixes #77315.

…ables

This can happen when we're generating constraints and resolving the
type annotations written in a closure expression. Just skip the
non-copyable check in this case.

Fixes rdar://problem/143031466.
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov slavapestov merged commit 70d6257 into swiftlang:main Jan 25, 2025
3 checks passed
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.

Compiler crash compiling AsyncExtensions with 6.0.2 toolchain, but not Xcode 16.1
2 participants