Package module not working properly
Kapps
opantm2+spam at gmail.com
Wed Aug 14 08:45:56 PDT 2013
On Wednesday, 14 August 2013 at 15:35:37 UTC, Dejan Lekic wrote:
> Looks to me like you are trying to import the package. It never
> worked. That is why over the time two groups of D developers
> emerged. Those who use the /path/to/package/all.d and those who
> use /path/to/package/_.d ... I belong to the first group, and
> would expect something like: import std.serialization.all; or
> import std.serialization._;
> Some guys rightfully argued about not being able to be more
> selective, but so far I think the approach above works
> perfectly.
Package imports work now with 'import std.serialization' actually
importing std.serialization.package which then publicly imports
what it needs. I don't remember which version this feature is in
but I think it was 2.063(?) or perhaps master.
More information about the Digitalmars-d
mailing list