Summary: Problem with enums of void*
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-10-11 10:09:32 PDT ---
Problem found by Lubos Pintes:$1co5$

enum Foo : void* {
    a = null
void main() {
    auto f = Foo.a;

DMD 2.061alpha gives:

temp.d(5): Error: no property 'a' for type 'void'

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

Reply via email to