On 14 January 2016 at 15:39, Walter Bright via Digitalmars-d <[email protected]> wrote: > On 1/13/2016 5:33 PM, Manu via Digitalmars-d wrote: >> >> I managed to quickly reduce to this point again: >> >> module m.x; >> alias X2 = X; >> extern (C++, ns) struct X {} >> >> Error: undefined identifier 'X' > > > > It's a bug. Thanks for finding and posting it. > > https://issues.dlang.org/show_bug.cgi?id=15565 > > As a workaround for the moment, you can either move the alias past the > extern, or qualify X with ns.X.
Isn't this exactly what you fixed the other day? What's the difference between this and that prior forward referencing case?
