mirror of
https://github.com/ziglang/zig.git
synced 2025-12-20 13:13:16 +00:00
The code tried to be too smart and skipped the equality (returning true) if the payload type was zero-sized. This optimization is completely wrong when the union payload is a metatype! Fixes #7047