Summary: forward declaration of enum not supported
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Brad Roberts <> 2010-07-27 00:21:19 PDT 
module foo;

struct A { B b; }
enum B { Z }

$ dmd -c foo.d
foo.d(3): Error: enum B is forward referenced

(flagging as D2 only since I haven't tested with D1 -- quite possibly broken
with both)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to