On Mon, 15 Sep 2014 21:26:27 +0000 dcrepid via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> Could this be considered a defect of design? no. it works the way it's intended to work. given that order of module imports is not defined (i.e. reordering imports should not affect resulting code), making 'version=' propagating to other modules will create disasterous side effects, even weirder than C macro abusing. "#define" is BAD, but in C you can at least control order of imports. in D you can't, so making 'version=' affect other modules will turn everything to hellish nightmare.
signature.asc
Description: PGP signature