Skip to content

Enable the sendingArgsAndResults experimental feature #2835

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
Sep 6, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 5, 2024

SE-0430 was accepted for Swift 6.0 but the experimental feature was not enabled with the proposal’s acceptance.

SE-0430 was accepted for Swift 6.0 but the experimental feature was not enabled with the proposal’s acceptance.
@ahoppen ahoppen requested a review from bnbarham as a code owner September 5, 2024 20:53
@ahoppen
Copy link
Member Author

ahoppen commented Sep 5, 2024

@swift-ci Please test

ahoppen added a commit to ahoppen/swift-syntax that referenced this pull request Sep 5, 2024
- **Explanation**: [SE-0430](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0430-transferring-parameters-and-results.md) was accepted for Swift 6.0 but the corresponding experimental feature `sendingArgsAndResults` in swift-syntax was not enabled with the proposal’s acceptance. Because of this, SwiftParser cannot parse eg. `func whatever(_ foo: sending Foo)`
- **Scope**: Parsing of `sending` parameters in SwiftParser
- **Risk**: Fairly low, this is enabling a feature flag.
- **Testing**: Ran test suite
- **Issue**: swiftlang#2836 / rdar://135336930
- **Original PR**: swiftlang#2835
- **Reviewer**: @bnbarham @rintaro @hamishknight
@ahoppen
Copy link
Member Author

ahoppen commented Sep 5, 2024

swiftlang/swift#76298

@swift-ci Please test

ahoppen added a commit to ahoppen/swift-syntax that referenced this pull request Sep 5, 2024
- **Explanation**: [SE-0430](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0430-transferring-parameters-and-results.md) was accepted for Swift 6.0 but the corresponding experimental feature `sendingArgsAndResults` in swift-syntax was not enabled with the proposal’s acceptance. Because of this, SwiftParser cannot parse eg. `func whatever(_ foo: sending Foo)`
- **Scope**: Parsing of `sending` parameters in SwiftParser
- **Risk**: Fairly low, this is enabling a feature flag.
- **Testing**: Ran test suite
- **Issue**: swiftlang#2836 / rdar://135336930
- **Original PR**: swiftlang#2835
- **Reviewer**: @bnbarham @rintaro @hamishknight
@ahoppen ahoppen merged commit 445486b into swiftlang:main Sep 6, 2024
3 checks passed
@ahoppen ahoppen deleted the enable-sending-arg branch September 6, 2024 21:23
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.

3 participants