Skip to content

Commit 289f1ff

Browse files
committed
update swift-syntax from 600.0.1
1 parent 1364f6b commit 289f1ff

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let package = Package(
1616
],
1717
dependencies: [
1818
// Depend on the latest Swift 5.9 SwiftSyntax
19-
.package(url: "https://github.com/swiftlang/swift-syntax", "509.0.0"..<"601.0.0-prerelease")
19+
.package(url: "https://github.com/swiftlang/swift-syntax", from: "600.0.1")
2020
],
2121
targets: [
2222
// Targets are the basic building blocks of a package, defining a module or a test suite.

Sources/CodableWrapperMacros/VariableDeclSyntaxExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ extension VariableDeclSyntax {
66
/// This syntactic check cannot account for semantic adjustments due to,
77
/// e.g., accessor macros or property wrappers.
88
var isStoredProperty: Bool {
9-
if modifiers.compactMap({ $0.as(DeclModifierSyntax.self) }).contains(where: { $0.name.text == "static" }) {
9+
if modifiers.contains(where: { $0.name.text == "static" }) {
1010
return false
1111
}
1212
if bindings.count < 1 {

0 commit comments

Comments
 (0)