http://d.puremagic.com/issues/show_bug.cgi?id=10788
Summary: Regression: forward reference of enum member E from another module. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: ibuc...@ubuntu.com --- Comment #0 from Iain Buclaw <ibuc...@ubuntu.com> 2013-08-09 11:44:45 PDT --- Regression within the last 11 months at most was when this was last working (I know it looks odd, but minimal tests of 2K+ projects always do). 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 --- A.d(3): Error: forward reference of enum member E --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------