Skip to content

Commit

Permalink
Completely remove init name for _PersistentProperty
Browse files Browse the repository at this point in the history
Not needed.
  • Loading branch information
helje5 committed Jan 30, 2024
1 parent b3daf0d commit 4162d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ManagedModels/ModelMacroDefinition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public macro Transient() =
* An internal helper macro. Don't use this.
*/
@available(swift 5.9)
@attached(accessor/*, names: named(init)*/)
@attached(accessor)
public macro _PersistedProperty() =
#externalMacro(module: "ManagedModelMacros", type: "PersistedPropertyMacro")

Expand Down

0 comments on commit 4162d58

Please sign in to comment.