Cross module version specs
Matt Peterson
ricochet1k at gmail.com
Fri Apr 27 13:33:45 PDT 2012
On Friday, 27 April 2012 at 20:26:38 UTC, Dmitry Olshansky wrote:
>
> I would rather see this as import test with specified version
> identifiers.
>
> import test!(some_version);
> //imports module but treats it contents as if with "version =
> some_version;" added at the top of it
This is inconsistent with the syntax and the way templates work
in the rest of the language, as well as being a lot less flexible.
It wouldn't be hard to mixin a string built from a list of
identifiers passed in to set those versions.
More information about the Digitalmars-d
mailing list