diff --git a/Package.resolved b/Package.resolved index 78e8019..6064571 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-custom-dump", "state" : { - "revision" : "82645ec760917961cfa08c9c0c7104a57a0fa4b1", - "version" : "1.3.3" + "revision" : "06c57924455064182d6b217f06ebc05d00cb2990", + "version" : "1.5.0" } }, { @@ -14,8 +14,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/p-x9/swift-literal-type-inference.git", "state" : { - "revision" : "898d4a8c5920a3a47d70a43e76d708697e14cd72", - "version" : "0.5.0" + "revision" : "a67dc0c90511f0b036de8ee51ecba9243d1a5ec0", + "version" : "0.6.0" } }, { @@ -23,8 +23,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-macro-testing.git", "state" : { - "revision" : "9ab11325daa51c7c5c10fcf16c92bac906717c7e", - "version" : "0.6.4" + "revision" : "2e494c632d510715c96a694ff25e2a8d4ac3f64b", + "version" : "0.6.5" } }, { @@ -41,8 +41,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-snapshot-testing", "state" : { - "revision" : "a8b7c5e0ed33d8ab8887d1654d9b59f2cbad529b", - "version" : "1.18.7" + "revision" : "ad5e3190cc63dc288f28546f9c6827efc1e9d495", + "version" : "1.19.2" } }, { @@ -50,8 +50,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-syntax.git", "state" : { - "revision" : "4799286537280063c85a32f09884cfbca301b1a1", - "version" : "602.0.0" + "revision" : "9de99a78f099e59caf2b2beec65a4c45d54b2081", + "version" : "603.0.1" } }, { @@ -59,8 +59,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/xctest-dynamic-overlay", "state" : { - "revision" : "b2ed9eabefe56202ee4939dd9fc46b6241c88317", - "version" : "1.6.1" + "revision" : "dfd70507def84cb5fb821278448a262c6ff2bbad", + "version" : "1.9.0" } } ], diff --git a/Package.swift b/Package.swift index 668e191..43d9bc8 100644 --- a/Package.swift +++ b/Package.swift @@ -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" ), .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", diff --git a/Tests/AssociatedObjectTests/PatternBindingSyntax+Tests.swift b/Tests/AssociatedObjectTests/PatternBindingSyntax+Tests.swift index ef782c9..15b7a15 100644 --- a/Tests/AssociatedObjectTests/PatternBindingSyntax+Tests.swift +++ b/Tests/AssociatedObjectTests/PatternBindingSyntax+Tests.swift @@ -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\"" + } + ) ) ) @@ -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 @@ -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\"" + } + ) ) ) @@ -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