[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 16 05:25:09 PDT 2008


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





------- Comment #8 from tomas at famolsen.dk  2008-10-16 07:25 -------
*bump* I could really use some hints on how to fix this in LDC .. Walter? How
do you do it in DMD?

As I've already said, the callsite references the global variable, so I need
some way to figure out that this in fact is not a real private.


-- 



More information about the Digitalmars-d-bugs mailing list