Replies: 1 comment 1 reply
-
Hi @pietrasm, unfortunately I'm not sure there is anything we can do to fix this. Our macro is merely expanding an "extension macro" to add some conformances to the @CasePathable
enum C: CasePathable, CasePathIterable {} Since this isn't an issue with the library I am going to convert it to a discussion. Please feel free to continue the conversation over there! And if you have the time I recommend filing an issue with Apple because it does seem like something that should be allowed. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
@CasePathable
generates code that fails to compile when the enum is nested in aprivate
type.To Reproduce
Expected behavior
Successful compilation.
Environment
Additional context
Relaxing
private
tofileprivate
can be used as a workaround.Beta Was this translation helpful? Give feedback.
All reactions