On Friday, 14 September 2018 at 23:08:34 UTC, Nicholas Wilson wrote:
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."

Thanks! https://github.com/dlang/DIPs/pull/134/files


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!

I'm not too keen on adding a compiler flag, because then I have to worry about deprecating the compiler flag. I don't know if the bugs that this DIP fixes are serious enough to justify it. I'd be happy to add it if others are willing to voice their support for it, demonstrating sufficient demand. Or, I suppose I could add it as an option for Walter and Andrei to approve or reject on judgement day.

Mike


Reply via email to