Skip to content

Commit 4610f9b

Browse files
bump swift syntax
1 parent 25c6499 commit 4610f9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Package.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ let package = Package(
1414
.library(name: "Papyrus", targets: ["Papyrus"]),
1515
],
1616
dependencies: [
17-
.package(url: "https://github.com/apple/swift-syntax", "509.0.0"..<"601.0.0-prerelease"),
18-
.package(url: "https://github.com/pointfreeco/swift-macro-testing", from: "0.1.0"),
17+
.package(url: "https://github.com/swiftlang/swift-syntax", from: "600.0.1"),
18+
.package(url: "https://github.com/pointfreeco/swift-macro-testing", from: "0.5.0"),
1919
],
2020
targets: [
2121

PapyrusPlugin/Sources/Extensions/SwiftSyntax+Utilities.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extension FunctionDeclSyntax {
2929
}
3030

3131
var effects: [String] {
32-
[signature.effectSpecifiers?.asyncSpecifier, signature.effectSpecifiers?.throwsSpecifier]
32+
[signature.effectSpecifiers?.asyncSpecifier, signature.effectSpecifiers?.throwsClause?.throwsSpecifier]
3333
.compactMap { $0 }
3434
.map { $0.text }
3535
}

0 commit comments

Comments
 (0)