On Sunday, 24 June 2018 at 15:46:58 UTC, Per Nordlöw wrote:
I would like to see a new trait named, say, `primaryMembers` or `nonAliasMembers` that returns exactly what the switch needs.
Alternatively, we could define a new `__traits(isAlias, enumeratorSymbol)` that evaluates to true for enumerator to aliases and use that to static-if-filter inside the static foreach loop. Comments on that!
