Skip to content

Commit 2f81706

Browse files
committed
[Macros] Add introduced names to the OptionSet macro.
1 parent 4a319b2 commit 2f81706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Macros.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public macro dsohandle() -> UnsafeRawPointer = Builtin.DSOHandleMacro
8686
/// case standard
8787
/// }
8888
/// }
89-
@attached(member)
89+
@attached(member, names: named(RawValue), named(rawValue), named(`init`), arbitrary)
9090
@attached(conformance)
9191
public macro OptionSet<RawType>() =
9292
#externalMacro(module: "SwiftMacros", type: "OptionSetMacro")

0 commit comments

Comments
 (0)