Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ let package = Package(
dependencies: [
.package(
url: "https://github.com/swiftlang/swift-syntax.git",
"509.0.0"..<"603.0.0"
"509.0.0"..<"604.0.0"
),
Comment on lines 19 to 22

Copilot AI Apr 23, 2026

Copy link

Choose a reason for hiding this comment

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

The PR title says support for swift-syntax "<603.0.0", but this dependency range change allows resolving 603.x ("509.0.0"..<"604.0.0"). Please clarify intent by updating the PR title/description or adjusting the version range accordingly.

Copilot uses AI. Check for mistakes.
.package(
url: "https://github.com/p-x9/swift-literal-type-inference.git",
from: "0.5.0"
from: "0.6.0"
),
.package(
url: "https://github.com/p-x9/swift-object-association.git",
Expand Down
32 changes: 20 additions & 12 deletions Tests/AssociatedObjectTests/PatternBindingSyntax+Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,11 @@ final class PatternBindingSyntaxTests: XCTestCase {
binding = .init(
pattern: IdentifierPatternSyntax(identifier: .identifier("value")),
accessorBlock: .init(
accessors: .getter(.init {
DeclSyntax("\"hello\"")
})
accessors: .getter(
.init {
"\"hello\""
}
)
)
)

Expand All @@ -105,9 +107,11 @@ final class PatternBindingSyntaxTests: XCTestCase {

let newGetter = AccessorDeclSyntax(
accessorSpecifier: .keyword(.get),
body: .init(statements: CodeBlockItemListSyntax {
.init(item: .decl("\"hello\""))
})
body: .init(
statements: .init {
"\"hello\""
}
)
)

binding.getter = newGetter
Expand All @@ -117,9 +121,11 @@ final class PatternBindingSyntaxTests: XCTestCase {
binding = .init(
pattern: IdentifierPatternSyntax(identifier: .identifier("value")),
accessorBlock: .init(
accessors: .getter(.init {
DeclSyntax("\"hello\"")
})
accessors: .getter(
.init {
"\"hello\""
}
)
)
)

Expand Down Expand Up @@ -184,9 +190,11 @@ final class PatternBindingSyntaxTests: XCTestCase {

let newWillSet = AccessorDeclSyntax(
accessorSpecifier: .keyword(.willSet),
body: .init(statements: CodeBlockItemListSyntax {
.init(item: .decl("\"hello\""))
})
body: .init(
statements: .init {
"\"hello\""
}
)
)

binding.willSet = newWillSet
Expand Down
Loading