Summary: Enum forward referencing regression
           Product: D
           Version: 2.032
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Koroskin Denis <> 2009-12-12 04:31:06 PST 
I decided to upgrade to a newer compiler version and noticed a regression
between DMD2.031 (that compiles okay) and DMD2.032 (that issues "enum Foo is
foward referenced").

module A;

class B : A

enum SomeEnum

class A
    SomeEnum someEnum()
        return SomeEnum.EnumMember;

Ouput: A.d(8): Error: enum SomeEnum is forward referenced


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

Reply via email to