[Issue 8106] func.stringof with default args

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 13 14:53:32 PDT 2012


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



--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> 2012-06-13 14:55:42 PDT ---
I have a patch for this specific case, but it's a kludge, not a general
solution.

The problem is that the context of the typeof(x) is not the context of where x
was declared, hence it is unknown what scope qualifiers (such as Colour) need
to be applied.

Can you post an example of why you need this? Perhaps there's another way.

-- 
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