<p><br>
Le 29 févr. 2012 07:20, "Nick Sabalausky" <a@a.a> a écrit :<br>
><br>
> "Nick Sabalausky" <a@a.a> wrote in message<br>
> news:jikcit$201o$1@digitalmars.com...<br>
> ><br>
> > Hmm, maybe I need to think about what it would take to make Goldie able to<br>
> > parse at compile-time...<br>
> ><br>
><br>
> Just gave it a quick shot. It was looking like it might not be too bad, but<br>
> then I hit:<br>
><br>
> Assertion failure: 'ctfeStack.stackPointer() == 0' on line 4823 in file<br>
> 'interpret.c'<br>
><br>
> Bleh.<br>
><br>
> (This was with DMD 2.058)</p>
<p>Yeah, I had the very same yesterday :(</p>
<p>Also, another one on line 94 in interpret.c 'v->ctfeSomethin' failing.</p>
<p>Too bad.</p>
<p>In my case, I found a workaround: I was doing</p>
<p>array[] ~= SomeStruct(args);</p>
<p>which asserts at CTFE.</p>
<p>But:</p>
<p>auto s = SomeStructs(args);<br>
array[] ~= s;</p>
<p>works.<br></p>