bool <=> int. WTF. (DIP0015)

Timon Gehr timon.gehr at gmx.ch
Tue Jul 2 16:37:27 UTC 2019


On 02.07.19 15:42, 9il wrote:
> On Tuesday, 2 July 2019 at 12:06:00 UTC, a11e99z wrote:
>> import std;
>>
>> enum E : int { zer, one, two };
>>
>> [...]
> 
> Looks like a serious bug to me. Please report it at 
> https://issues.dlang.org/

It is not a bug in the implementation.
The attempted spec fix has been turned down:
https://forum.dlang.org/post/xkfgbfhhtkiewfqqsvcv@forum.dlang.org


More information about the Digitalmars-d mailing list