DIP 1015--removal of implicit conversion from integer and character literals to bool--Community Review Round 1
Jacob Carlborg
doob at me.com
Fri Jun 22 15:31:05 UTC 2018
On 2018-06-20 10:16, Mike Parker wrote:
> This is the feedback thread for the first round of Community Review for
> DIP 1015, "Deprecation and removal of implicit conversion from integer
> and character literals to bool":
The text says: "Only literals that evaluate to 0 or 1 are affected; all
other literals are to remain unchanged" [1]. This goes against example A
[2].
[1]
https://github.com/dlang/DIPs/blob/7c2c39243d0d747191f05fb08f87e1ebcb575d84/DIPs/DIP1015.md#description
[2]
https://github.com/dlang/DIPs/blob/7c2c39243d0d747191f05fb08f87e1ebcb575d84/DIPs/DIP1015.md#example-a
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list