On 9 August 2013 19:22, H. S. Teoh <[email protected]> wrote: > On Fri, Aug 09, 2013 at 08:16:32PM +0200, Iain Buclaw wrote: >> Just wanted to check with someone if this is working before I raise >> a bug report. :-) >> >> A.d: >> --- >> module A; >> import B; >> enum MyEnum F = E; >> --- >> >> B.d: >> --- >> module B; >> import A; >> enum : uint { E } // Fails >> //enum { E } // OK >> alias uint MyEnum; >> --- >> >> >> Run: dmd -c B.d > [...] > > I'm using git HEAD. I get: > > A.d(3): Error: forward reference of enum member E > >
Excellent, this is a regression from around 11 months ago was the last time this sort of code worked. :o) -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
