chore: allow for swift-syntax of 603.0.0#150
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the SwiftPM dependency constraint for swift-syntax to include 603.0.0, and adjusts the macro conformance to match the updated MemberMacro expansion signature required by newer SwiftSyntax releases.
Changes:
- Widen
swift-syntaxdependency range to allow resolving603.x(by moving the upper bound to< 604.0.0). - Update
FlagContainerMacro’sMemberMacro.expansionsignature to include theconformingToparameter (addressing the deprecation / API shift in SwiftSyntax).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
Sources/VexilMacros/FlagContainerMacro.swift |
Updates MemberMacro expansion signature to include conformingTo protocols, aligning with newer SwiftSyntax macro APIs. |
Package.swift |
Expands the allowed swift-syntax version range to include 603.0.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@bok- if you could approve the workflows please, I'm fairly confident they should pass 🙏🏻 |
bok-
left a comment
There was a problem hiding this comment.
Thanks @Brett-Best! Looks good, lets get this in and I'll cut beta 2.
|

📒 Description
Allows for Swift Syntax to resolve to 603.0.0.
🔍 Detailed Design
I fixed a deprecation warning and ensured compilation with Swift Syntax 600.0.0 still worked.
📓 Documentation Plan
N/A
🗳 Test Plan
Running the tests of the SwiftPM package it has against the My Mac target.
🧯 Source Impact
N/A
✅ Checklist