Skip to content
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

[CS] Call checkParameterList for single-expr closures #76473

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

hamishknight
Copy link
Contributor

Previously we would only call this in the delayed application logic, which is currently run for multi-statement closures. I'm planning on removing that code path, which uncovered this issue.

Resolves #76291

Previously we would only call this in the delayed
application logic, which is currently run for
multi-statement closures. I'm planning on
removing that code path, which uncovered this
issue.
We need to make sure property wrappers are
applied before `checkParameterList`.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please test source compatibility

@hamishknight hamishknight merged commit c9c962b into swiftlang:main Sep 16, 2024
7 checks passed
@hamishknight hamishknight deleted the attrick branch September 16, 2024 16:16
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.

Single-expression closures don't do TypeChecker::checkParameterList
2 participants