Skip to content

Found another place where we specify the swift-syntax version. #8321

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

Conversation

dschaefer2
Copy link
Member

Updates the config.json to swift-syntax 601.

@dschaefer2
Copy link
Member Author

@swift-ci please test

@@ -1,3 +1,3 @@
{"version":1,
"swiftSyntaxVersionForMacroTemplate":{"major":600,"minor":0,"patch":0, "prereleaseIdentifier":"latest"},
"swiftTestingVersionForTestTemplate":{"major":0,"minor":8,"patch":0}}
"swiftSyntaxVersionForMacroTemplate":{"major":601,"minor":0,"patch":0, "prereleaseIdentifier":"latest"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: how is tie config.json use?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used with the swift package init --type macro.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that lets us override the hardcoded default in the code by updating that file in the toolchain.

@dschaefer2 dschaefer2 enabled auto-merge (squash) March 3, 2025 21:26
@dschaefer2 dschaefer2 merged commit c07726b into swiftlang:release/6.1 Mar 3, 2025
5 checks passed
@dschaefer2 dschaefer2 deleted the 6.1-swift-syntax-config branch March 3, 2025 22:10
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