Beta 2.094.0

MoonlightSentinel moonlightsentinel at disroot.org
Sat Sep 12 11:43:03 UTC 2020


On Saturday, 12 September 2020 at 00:52:43 UTC, Andrej Mitrovic 
wrote:
> Does anyone know when -preview=fieldwise will become the 
> default?

Currently looking into enabling it by default but it showed an 
interesting side effect. The frontend can now conclude that a == 
b is always true if a and b are instances of an empty struct 
(without custom opEquals).

This caused "unreachable code" warnings for VariantN in Phobos 
and could probably affect other projects as well.


More information about the Digitalmars-d-announce mailing list