Why not flag away the mistakes of the past?
Dukc
ajieskola at gmail.com
Thu Mar 8 15:46:19 UTC 2018
On Wednesday, 7 March 2018 at 16:29:33 UTC, Seb wrote:
> Well, I tried that already:
>
> https://github.com/dlang/phobos/pull/5513
>
> In short: very easy to do, but not much interest at the time.
No. The main problem with that (and the idea of using a compiler
flag in general) is that it affects the whole compilation. That
means that every single third-party library, not only Phobos, has
to work BOTH with and without the switch.
IMO, if we find a way to enable or disable autodecoding per
module, not per compilation, that will make deprectating it more
than worthwhile.
More information about the Digitalmars-d
mailing list