diff --git a/Sources/DefaultsMacrosDeclarations/ObservableDefaultMacro.swift b/Sources/DefaultsMacrosDeclarations/ObservableDefaultMacro.swift index e28b4d4..d4b105d 100644 --- a/Sources/DefaultsMacrosDeclarations/ObservableDefaultMacro.swift +++ b/Sources/DefaultsMacrosDeclarations/ObservableDefaultMacro.swift @@ -66,7 +66,7 @@ extension ObservableDefaultMacro: PeerMacro { let associatedKey = associatedKeyToken(for: property) return [ - "private static var \(associatedKey): Void?" + "private nonisolated(unsafe) static var \(associatedKey): Void?" ] } }