[Issue 2383] default arguments can implicitly access private global variables that are not visible at call site

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 2 03:42:12 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2383





------- Comment #6 from tomas at famolsen.dk  2008-10-02 05:42 -------
reason I'm asking this is that DMD puts a the private global value in the AST
at the call site. thus I can't make this specific global internal and I can't
find any information to tell me that this specific global does not follow usual
symbol visibility rules.


-- 



More information about the Digitalmars-d-bugs mailing list