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

Delete reference to simpleTypeSpecifier #765

Closed
wants to merge 2 commits into from
Closed

Conversation

meg-gupta
Copy link

Update as per swift-syntax changes in swiftlang/swift-syntax#2876

@stmontgomery
Copy link
Contributor

@swift-ci please test

@stmontgomery
Copy link
Contributor

stmontgomery commented Oct 15, 2024

It looks like this will break compatibility with the swift-syntax-600.0.x tag that the package depends on. Is there a way we can stage this change such that it will remain compatible with earlier tags of swift-syntax? Alternatively, could we first get the upstream change included in a swift-syntax tag, then update the package dependency to reference that tag, then land this change?

@grynspan
Copy link
Contributor

Should be possible to do something like:

#if !canImport(SwiftSyntax, _version: N)
// old code here
#endif

Where N is whatever tag of swift-syntax deleted this symbol.

@grynspan grynspan added the bug 🪲 Something isn't working label Oct 15, 2024
@meg-gupta
Copy link
Author

@swift-ci please test

@grynspan
Copy link
Contributor

Based on a side discussion, I think we can close this PR?

@meg-gupta
Copy link
Author

Closing this PR. Reworked swiftlang/swift-syntax#2876 to avoid api break

@meg-gupta meg-gupta closed this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants