Nobody?<div>Is this intentional, or a bug? Some way that this makes sense that I don't understand?<div>Does Colour somehow transfer its scope to the default arg? That string doesn't seem to compile...<br><br><div class="gmail_quote">
On 14 May 2012 15:52, Manu <span dir="ltr"><<a href="mailto:turkeyman@gmail.com" target="_blank">turkeyman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
void function(Colour c = Colour.white) f;<div><br></div><div>f.stringof == "void function(Colour c = white)"</div><div><br></div><div>Error: undefined identifier 'white'</div><div><br></div><div><br></div>

<div>This is rather hard to work-around. It'll take a lot of time to write code to magically put 'Colour.' back there...</div><div>Is there another way?</div>
</blockquote></div><br></div></div>