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

           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
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2012-10-11 10:09:32 PDT ---
Problem found by Lubos Pintes:
http://forum.dlang.org/thread/k5422g$1co5$1...@digitalmars.com



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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to