DIP 1022--foreach auto ref--Community Review Round 1
Dukc
ajieskola at gmail.com
Thu Aug 8 13:10:25 UTC 2019
On Thursday, 8 August 2019 at 12:52:43 UTC, Dukc wrote:
> On Thursday, 8 August 2019 at 12:38:51 UTC, rikki cattermole
> wrote:
>>
>> If we could get an idea of the severity (1-2 modules vs half
>> vs almost all of Phobos) of the breakage being proposed, that
>> would great.
>
> Remember that nothing will break before deprecation period
> ends. If it proves to be too bad we can back up and go with
> alternative #1 instead.
>
Just realized how stupid this would be in case of Phobos, if just
about standard library usage will spit deprecation messages all
over the place.
Phobos has to be migrated with a compiler fork that has this
feature implemented (running it against the standard test suite
should reveal a good enough portion of offending loops), and if
it proves to be too bad to migrate them behind the scenes, then a
preview switch.
Sounds unlikely to me that a switch would be needed, since it's
just about changing `ref`s to `auto ref`s. So probably not worth
it to add anything extra mentions of that to the DIP. But the
main contributors are better at estimating that than me -any
opinions?
More information about the Digitalmars-d
mailing list