int/longRe: DIP 1015--removal of integer & character literal conversion to bool--Final Review

Nicholas Wilson iamthewilsonator at hotmail.com
Fri Sep 14 23:08:34 UTC 2018


On Friday, 14 September 2018 at 13:41:40 UTC, Mike Parker wrote:
> DIP 1015, "Deprecation and removal of implicit conversion from 
> integer and character literals to bool", is now ready for Final 
> Review. This is a last chance for community feedback before the 
> DIP is handed off to Walter and Andrei for the Formal 
> Assessment. Please read the procedures document for details on 
> what is expected in this review stage:
>
> https://github.com/dlang/DIPs/blob/master/PROCEDURE.md#final-review
>
> The current revision of the DIP for this review is located here:
>
> https://github.com/dlang/DIPs/blob/299f81c2352fae4c7fa097de71308d773dcd9d01/DIPs/DIP1015.md
>
> In it you'll find a link to and summary of the previous review 
> round. This round of review will continue until 11:59 pm ET on 
> September 28 unless I call it off before then.
>
> Thanks in advance for your participation.

Small typo under Breaking Changes and Deprecations

"4. After the time period specified in step 4 has elapsed, stage 
2 can be merged."

should be

"4. After the time period specified in step _3_ has elapsed, 
stage 2 can be merged."

The only thing I think is missing is a flag to accelerate the 
process s.t. the examples

f(E.a);
f(E.b);
g(a - b);

can be made to call their int/long overloads straight away. But 
otherwise, er, no. A resounding yes with a small request to make 
the transition faster!

Thanks Mike & Mike! Looking forward to it.

Nic



More information about the Digitalmars-d mailing list