[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 15:14:43 PDT 2008


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





------- Comment #7 from bugzilla at digitalmars.com  2008-10-02 17:14 -------
(In reply to comment #2)
> "The default parameter value is evaluated in the context
> where it appears" - should I reopen Issue 191, then?

No, because a 'this' pointer would still be needed.


-- 



More information about the Digitalmars-d-bugs mailing list