Skip to content

Commit 00c82ef

Browse files
committed
Update swift-syntax to 601
1 parent cc938ec commit 00c82ef

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

Package.resolved

Lines changed: 3 additions & 3 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
@@ -26,7 +26,7 @@ let package = Package(
2626
)
2727
],
2828
dependencies: [
29-
.package(url: "https://github.com/swiftlang/swift-syntax", from: "600.0.1")
29+
.package(url: "https://github.com/swiftlang/swift-syntax", from: "601.0.0")
3030
],
3131
targets: [
3232
.target(

Sources/Defaults/Utilities.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,10 +370,9 @@ final class TaskQueue {
370370
func flush() async {
371371
await withCheckedContinuation { continuation in
372372
lock.with {
373-
queueContinuation?.yield {
373+
_ = queueContinuation?.yield {
374374
continuation.resume()
375375
}
376-
return
377376
}
378377
}
379378
}

Sources/DefaultsMacros/ObservableDefault.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import Defaults
22
import Foundation
33

44
/**
5-
Attached macro that adds support for using ``Defaults`` in ``@Observable`` classes.
5+
Attached macro that adds support for using `Defaults` in `@Observable` classes.
66

7-
- Important: To prevent issues with ``@Observable``, you need to also add ``@ObservationIgnored`` to the attached property.
7+
- Important: To prevent issues with `@Observable`, you need to also add `@ObservationIgnored` to the attached property.
88

99
This macro adds accessor blocks to the attached property similar to those added by `@Observable`.
1010

0 commit comments

Comments
 (0)