pointfreeco / swift-case-paths

🧰 Case paths extends the key path hierarchy to enum cases.
https://www.pointfree.co/collections/enums-and-structs/case-paths
MIT License
904 stars 105 forks source link

Macro fixes #149

Closed stephencelis closed 7 months ago

stephencelis commented 7 months ago

This applies public access to everything inside the enum, which will gracefully degrade to the access control of the context (fixes #148).

This also applies the availability clause of the declaration to the extension.