# \[Update\] Restrictions on Arbitrary Names at Global Scope in SE-0389 and SE-0397

**URL:** <https://forums.swift.org/t/update-restrictions-on-arbitrary-names-at-global-scope-in-se-0389-and-se-0397/66289>\
**Category:** Announcements\
**Created:** [July 21, 2023, 2:06pm UTC](https://forums.swift.org/t/update-restrictions-on-arbitrary-names-at-global-scope-in-se-0389-and-se-0397/66289 "2023-07-21T14:06:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![blindspotbounty](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/blindspotbounty/32/44760_2.png) [@blindspotbounty](https://forums.swift.org/u/blindspotbounty)\
**Post date:** [July 26, 2023, 8:14am UTC](https://forums.swift.org/t/update-restrictions-on-arbitrary-names-at-global-scope-in-se-0389-and-se-0397/66289/4 "2023-07-26T08:14:32Z")

</div>

That sounds like a great improvement.  
However, I am struggling with introducing `prefixed` and `suffixed` macro at the same time.

There is an example where I was trying to do it by using two sequential macro: [Peer macros on a protocol - #11 by blindspotbounty](https://forums.swift.org/t/peer-macros-on-a-protocol/65469/11) but that sounds like a hack.  
Furthermore, it doesn't work due to compiler bug: [Sequential peer macro (PeerMacro) is not taken in attention for compilation but conflicts with re-declarations (swift 5.9) · Issue #67506 · apple/swift · GitHub](https://github.com/apple/swift/issues/67506)

Therefore, I was looking for some solution that is in place or probably in plans. I would expect something like `names: prefixed(Prefix) & suffixed(Suffix)` or `names: prefixed(Prefix), suffixed(Suffix)` that would include name: `PrefixSomeNameSuffix`.

Could you suggest if it is currently possible in some way, please?

UPD: other thing that used to be possible was related to arbitrary conformance: generating protocol by struct/class definition and make a conforming extension for it. Example is here: [[Accepted] SE-0402: Generalize `conformance` macros as `extension` macros - #5 by blindspotbounty](https://forums.swift.org/t/accepted-se-0402-generalize-conformance-macros-as-extension-macros/66276/5)

Though it might be not very often cases for macro, they still might be valid.

---

_[View the full topic](https://forums.swift.org/t/update-restrictions-on-arbitrary-names-at-global-scope-in-se-0389-and-se-0397/66289)._
