http://d.puremagic.com/issues/show_bug.cgi?id=4206
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 AssignedTo: nob...@puremagic.com ReportedBy: r.sagita...@gmx.de --- Comment #0 from Rainer Schuetze <r.sagita...@gmx.de> 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, 1.056). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------