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

           Summary: Error with 'TOK232' declaring enum of anonymous nested
                    class type
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: clugd...@yahoo.com.au


--- Comment #0 from Don <clugd...@yahoo.com.au> 2012-03-21 08:33:51 PDT ---
enum x = new class { int n = 4; };
static assert(x.n == 4);

bug.d(5): Error: static assert  (TOK232.n == 4) is not evaluatable at compile
time

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to