stringof giving a surprising output
Manu
turkeyman at gmail.com
Mon May 14 05:52:05 PDT 2012
void function(Colour c = Colour.white) f;
f.stringof == "void function(Colour c = white)"
Error: undefined identifier 'white'
This is rather hard to work-around. It'll take a lot of time to write code
to magically put 'Colour.' back there...
Is there another way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120514/980e6bf0/attachment-0001.html>
More information about the Digitalmars-d
mailing list