Revert "Enable -preview=fieldwise by default"

This reverts commit 6a7bd45a8e.

PR #17495 was originally merged in an incomplete state. Since there are
non-trivial obstacles to completing it, revert the incomplete changes
instead.

See PR #20670 for more information.
This commit is contained in:
Paul Backus 2025-01-09 13:38:03 -05:00
parent 69664b922d
commit 99b4a5dc76
4 changed files with 2 additions and 12 deletions

View file

@ -1,8 +0,0 @@
`-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.