File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/Macros/Sources/SwiftMacros Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 21
21
typealias MyValue = Optional <Int >
22
22
23
23
@TaskLocal
24
- static var number: MyValue // Swift 6: error, please specify default value explicitl
24
+ static var number: MyValue // Swift 6: error, please specify default value explicitly
25
25
26
26
// Solution 1: Specify the default value
27
27
@TaskLocal
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import SwiftDiagnostics
17
17
/// Macro implementing the TaskLocal functionality.
18
18
///
19
19
/// It introduces a peer `static let $name: TaskLocal<Type>` as well as a getter
20
- /// that assesses accesses the task local storage.
20
+ /// that accesses the task local storage.
21
21
public enum TaskLocalMacro { }
22
22
23
23
extension TaskLocalMacro : PeerMacro {
You can’t perform that action at this time.
0 commit comments