Skip to content

Commit c50af49

Browse files
authored
Merge pull request #150 from Brett-Best/chore/swift-syntax-603.0.0-support
chore: allow for `swift-syntax` of `603.0.0`
2 parents 44dd7c7 + c0fe67b commit c50af49

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
dependencies: [
2222
.package(url: "https://github.com/apple/swift-async-algorithms.git", from: "1.0.0"),
2323
.package(url: "https://github.com/nicklockwood/SwiftFormat.git", from: "0.60.1"),
24-
.package(url: "https://github.com/swiftlang/swift-syntax.git", "600.0.0" ..< "603.0.0"),
24+
.package(url: "https://github.com/swiftlang/swift-syntax.git", "600.0.0" ..< "604.0.0"),
2525
],
2626

2727
targets: [

Sources/VexilMacros/FlagContainerMacro.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ extension FlagContainerMacro: MemberMacro {
2323
public static func expansion(
2424
of node: AttributeSyntax,
2525
providingMembersOf declaration: some DeclGroupSyntax,
26+
conformingTo protocols: [TypeSyntax],
2627
in context: some MacroExpansionContext,
2728
) throws -> [DeclSyntax] {
2829
// If the declaration doesn't have any scopes attached we might be inheriting scopes from a public extension

0 commit comments

Comments
 (0)