Skip to content

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