[Issue 8106] func.stringof with default args

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 12 17:22:10 PDT 2012


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



--- Comment #3 from Manu <turkeyman at gmail.com> 2012-06-12 17:24:20 PDT ---
(In reply to comment #2)
> Can you please verify the behavior you are seeing?

Sorry, that should have a typeof():

pragma(msg, typeof(func).stringof);
-> void(Colour c = cast(Colour)white)

I don't recall it showing the cast that way at work (old GDC differences
perhaps), but that's what I'm seeing right now.
Either way, that should surely read c = Colour.white instead.

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