dmd/changelog/dmd.fieldwise.dd
Paul Backus 6a7bd45a8e Enable -preview=fieldwise by default
Introduced in PR #9331, this was changed from a normal bug fix to a
-preview switch because enabling it triggered a suprious "statement is
not reachable" warning in Phobos. That warning has since been removed
(in PR #15568).
2024-12-08 21:19:17 +01:00

8 lines
395 B
Text

`-preview=fieldwise` is now enabled by default
This fixes a bug that affected some struct comparisons using the `==` operator.
For more information, see [the entry for `-preview=fieldwise` in the 2.085.0
changelog](https://dlang.org/changelog/2.085.0.html#no-cmpsb).
The new `-revert=fieldwise` switch can be used to disable the bug fix and
restore the original behavior of the `==` operator.