[Issue 2370] Version statement enhancement: versioned identifiers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 3 13:55:47 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2370
------- Comment #8 from shro8822 at vandals.uidaho.edu 2008-10-03 15:55 -------
Several of the comments seem to be forgetting that "version = bob" in an
imported file has no effect on "version(bob)" statements in the importing file.
importer.d:
import imported;
version(bob) { pragma(msg,"bob"); }
else { pragma(msg,"!bob"); }
imported.d:
version = bob;
output:
!bob
--
More information about the Digitalmars-d-bugs
mailing list