[phobos] Deprecation of std.date

Steven Schveighoffer schveiguy at yahoo.com
Mon Jan 17 16:35:13 PST 2011


I meant to avoid seeing e.g. two separate messages for std.date and std.dateparse

-Steve

Sent from my iPhone

On Jan 17, 2011, at 12:24 PM, Jonathan M Davis <jmdavisProg at gmx.com> wrote:

> On Monday, January 17, 2011 05:47:02 Steve Schveighoffer wrote:
>> What about including a private module std.dtdeprecated that prints the
>> message?  Then at least you can cut it down to one message, no matter  how
>> many modules you import.
> 
> When compiling phobos normally, the message only prints once. It's only when 
> building phobos with the unit tests enabled that it gets printed over and over. 
> I get the impression that each module is built and run separately when building 
> and running the unit tests on Linux. If that is indeed the case, then your 
> suggestion doesn't really help, since the problem isn't that the deprecated 
> modules get imported multiple times but rather that they're included in multiple 
> builds.
> 
> - Jonathan M Davis
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list