https://issues.dlang.org/show_bug.cgi?id=15828
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #4 from Dlang Bot <[email protected]> --- @teodutu created dlang/dmd pull request #12937 "[DSSv3] Fix Issue 15828 - DMD should refuse comparing unions" fixing this issue: - Fix Issue 15828 - DMD should refuse comparing unions Changes: - Add check in `dmd/opover.d` to verify if the compared structs are unions and output an error if the check passes - Verify the error by `tests/fail_compilation/test15828.d` - Add `changelog/union-comparison.dd` to explain these changes https://github.com/dlang/dmd/pull/12937 --
