http://d.puremagic.com/issues/show_bug.cgi?id=9846

           Summary: regression of forward references
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from SHOO <[email protected]> 2013-03-31 07:31:56 PDT ---
This code doesn't work on git master
HEAD(8b9d88d19fe4bb239209c004230fd5ac271436c3):
--------
const int A = B;
enum { B = 1 }
void main(){}
--------
$ dmd -run main
main.d(1): Error: undefined identifier B, did you mean variable A?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to