"Philippe Sigaud" <[email protected]> wrote in message news:[email protected]... Le 29 févr. 2012 07:20, "Nick Sabalausky" <[email protected]> a écrit : > >> >> Just gave it a quick shot. It was looking like it might not be too bad, >but >> then I hit: >> >> Assertion failure: 'ctfeStack.stackPointer() == 0' on line 4823 in file >> 'interpret.c' >> >> Bleh. >> >> (This was with DMD 2.058) > >Yeah, I had the very same yesterday :( > >Also, another one on line 94 in interpret.c 'v->ctfeSomethin' failing. > >Too bad. > >In my case, I found a workaround: I was doing > >array[] ~= SomeStruct(args); > >which asserts at CTFE. > >But: > >auto s = SomeStructs(args); >array[] ~= s; > >works. >
Ooh, cool! I know exactly where I'm doing that!
