[Issue 1534] New: Can't mix in a case statement.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 26 06:34:59 PDT 2007


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

           Summary: Can't mix in a case statement.
           Product: D
           Version: 1.021
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: aziz.kerim at gmail.com


switch(1)
{
mixin("case 0:{}");
case 1:
case 2:
default:
}

Getting this error many times until the compiler aborts aborts:
bla.d(...): found 'EOF' instead of statement


-- 



More information about the Digitalmars-d-bugs mailing list