You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the frozen keyword only to enums with the public or package modifiers (#595)
### Motivation
As reported in
#586, using Xcode
16 Beta 3, the generated Type.swift file now shows multiple warnings due
to the `@frozen` attribute being applied to non-public enums.
### Modifications
In order to resolve the above issue, I have modified the code to
annotate the `@frozen` keyword only on `enum` with the `public` or
`package` modifiers.
### Result
No warnings are issued when the `@frozen` keyword is annotated on enums
with the `public` or `package` modifiers.
0 commit comments