From 99207b74e5a6f61a9f080f06bcef1cee9ec4cdeb Mon Sep 17 00:00:00 2001 From: Brett-Best Date: Tue, 7 Apr 2026 21:13:23 +1000 Subject: [PATCH] chore: allow for `swift-syntax` of `603.0.0` --- Package.swift | 2 +- Sources/VexilMacros/FlagContainerMacro.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index bc83b295..e50ed54d 100644 --- a/Package.swift +++ b/Package.swift @@ -21,7 +21,7 @@ let package = Package( dependencies: [ .package(url: "https://github.com/apple/swift-async-algorithms.git", from: "1.0.0"), .package(url: "https://github.com/nicklockwood/SwiftFormat.git", from: "0.54.1"), - .package(url: "https://github.com/swiftlang/swift-syntax.git", "600.0.0" ..< "603.0.0"), + .package(url: "https://github.com/swiftlang/swift-syntax.git", "600.0.0" ..< "604.0.0"), ], targets: [ diff --git a/Sources/VexilMacros/FlagContainerMacro.swift b/Sources/VexilMacros/FlagContainerMacro.swift index 05404884..60d79c9f 100644 --- a/Sources/VexilMacros/FlagContainerMacro.swift +++ b/Sources/VexilMacros/FlagContainerMacro.swift @@ -23,6 +23,7 @@ extension FlagContainerMacro: MemberMacro { public static func expansion( of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, + conformingTo protocols: [TypeSyntax], in context: some MacroExpansionContext ) throws -> [DeclSyntax] { // If the declaration doesn't have any scopes attached we might be inheriting scopes from a public extension