[Issue 9846] New: regression of forward references

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 31 07:31:56 PDT 2013


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: nobody at puremagic.com
        ReportedBy: zan77137 at nifty.com


--- Comment #0 from SHOO <zan77137 at nifty.com> 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: -------


More information about the Digitalmars-d-bugs mailing list