it would be helpful if packages being moved in phobos had a transition period

Paul Backus snarwin at gmail.com
Sun Oct 16 14:08:55 UTC 2022


On Sunday, 16 October 2022 at 12:04:11 UTC, singingbush wrote:
> It would be really helpful if, when moving things out from 
> `std.experimental`, that both the new and old import paths 
> would work for some time as an overlap. Ideally with the older 
> import path generating a deprecation warning during compile. 
> It's frequent breaking changes like this that have always 
> hindered me from using D in the workplace.

If you had actually tested this before complaining, you would 
have discovered that it behaves *exactly* the way you propose. As 
of Phobos 2.100.2, `import std.experimental.checkedint;` still 
works, but prints a deprecation warning during compilation.


More information about the Digitalmars-d mailing list