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

[Parser] Always enable abiAttribute feature #3026

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Mar 21, 2025

ABIAttributeArgumentsSyntax is still under @_spi(ExperimentalLanguageFeatures).
Not parsing the interior of @abi attribute causes catastrophic breakage to the tree. Having "unknown" syntax kind in the tree is better than dealing with structually broken trees.

@rintaro rintaro marked this pull request as draft March 21, 2025 21:29
@rintaro
Copy link
Member Author

rintaro commented Mar 21, 2025

@swift-ci Please test

`ABIAttributeArgumentsSyntax` is still under
`@_spi(ExperimentalLanguageFeatures)`.
Not parsing the interior of `@abi` attribute causes catastrophic breakage
to the tree. Having "unknown" syntax kind in the tree is better than
dealing with structually broken trees.
@beccadax
Copy link
Contributor

beccadax commented Apr 1, 2025

Gonna try to unblock this, as I need it for swiftlang/swift#80383.

@beccadax beccadax force-pushed the features-abi-alwaysenabled branch from 74a60dd to b5b764c Compare April 1, 2025 22:26
@beccadax
Copy link
Contributor

beccadax commented Apr 1, 2025

@swift-ci Please test

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