zig
zig copied to clipboard
sema: forbid switching on a pointer
Fixes #7357
This should go through a proposal since Andrew hasn't responded to SpexGuy's comment in that issue.
PRs allow for comments so I assumed Andrew eventually merging or closing had the same effect
https://github.com/ziglang/zig/issues/7357#issuecomment-1884314189