http://d.puremagic.com/issues/show_bug.cgi?id=8628
Summary: IntegerExp::toInteger(): Assertion `0' failed Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: ellery-newco...@utulsa.edu --- Comment #0 from Ellery Newcomer <ellery-newco...@utulsa.edu> 2012-09-07 15:11:01 PDT --- dmd 2.060 x64 linux code: //a.d import b; void main() { d_type!double(null); } //b.d T d_type(T) () { Dim!T.initArr; } template Dim(T) { int[] tuple2arr()() { } bool check() { if(dims) return false; } enum int[] dims = tuple2arr!()(); } compile: dmd b a produces fireworks: e = 0x220d6b0, ty = 35 _error_ 0x21845a0 dmd: expression.c:2073: virtual dinteger_t IntegerExp::toInteger(): Assertion `0' failed. Aborted (core dumped) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------