Skip to content

[Sema] Tighten up function call check in resolveKeyPathExpr #82316

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 1 commit into from
Jun 19, 2025

Conversation

hamishknight
Copy link
Contributor

@hamishknight hamishknight commented Jun 17, 2025

Check for CallExpr instead of ApplyExpr, we don't support arbitrary postfix operators in key paths.

rdar://153671753

Check for `CallExpr` instead of `ApplyExpr`, we don't support
arbitrary postfix operators in key paths.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please test macOS

@hamishknight
Copy link
Contributor Author

swiftlang/swift-foundation#1368

@swift-ci please test Windows

@hamishknight hamishknight merged commit 9b21efd into swiftlang:main Jun 19, 2025
5 checks passed
@hamishknight hamishknight deleted the keyed branch June 19, 2025 07:18
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.

2 participants