Nobody? Is this intentional, or a bug? Some way that this makes sense that I don't understand? Does Colour somehow transfer its scope to the default arg? That string doesn't seem to compile...
On 14 May 2012 15:52, Manu <[email protected]> wrote: > 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? >
