Open p-x9 opened 12 months ago
Currently, the following uses are not available
@Alias("NewProtocolName") protocol Protocol {}
protocol can only be defined in the global scope. However, PeerMacro cannot be used in the global scope with arbitrary specified in names.
protocol
https://github.com/apple/swift-evolution/blob/main/proposals/0389-attached-macros.md#restrictions-on-arbitrary-names
Nested Protocol
https://github.com/apple/swift-evolution/blob/main/proposals/0404-nested-protocols.md
Currently, the following uses are not available