[Issue 3182] compile time access of imported symbol
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 16 19:00:39 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3182
--- Comment #2 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2009-07-16 19:00:38 PDT ---
Well, the distinction is whether the symbol is used in compile time expressions
or run time expressions. Currently, DMD performs some or all compile time
evaluation in the same pass as it builds the symbol table, which is why you get
the behavior for the first static if.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list