Summary: type accepted as enum initializer
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Rainer Schuetze <> 2010-05-19 00:47:23 
PDT ---
trying to compile the latet phobos revision, I've hit this assert:

std\bind.d(295): Error: static assert  (isTypeTuple!(Tuple!(int))) is false

which boils down to the template isExpressionTuple not returning the correct
value. This is caused by

alias int myint;
enum var = myint;

being accepted as correct syntax while "enum var = int;" is not.

This happens for every DMD version I have tested (latest svn, 2.046, 2.042,

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

Reply via email to