http://d.puremagic.com/issues/show_bug.cgi?id=11301
--- Comment #4 from Walter Bright <[email protected]> 2013-10-26 18:49:21 PDT --- This also happens with 2.063, so it is not a regression. The trouble is the declaration of a.MAP_ANON is hidden inside a conditionally compiled block. Because the exp of "static if (exp)" cannot be evaluated in advance, the compiler cannot know yet that the declarations in the block exist. Then, when doing semantic analysis on module a, it looks up a.MAP_ANON. It doesn't find MAP_ANON in a, but a.d imports b.d, and b declares a MAP_ANON! The error is the alias essentially resolves to itself, which is an error. I think the only solution is to fix the druntime code so it doesn't trigger what is essentially an unresolvable forward reference error. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
