Fellow ChucKists,<br><br>This is runs;<br><br>&lt;&lt;&lt;-1 * second&gt;&gt;&gt;;<br><br>Hence we know that negative durations are fine. This, on the other hand causes a problem;<br><br>&lt;&lt;&lt;-1::second&gt;&gt;&gt;;<br>
<br>We can get around that by using this;<br><br>&lt;&lt;&lt;(-1)::second&gt;&gt;&gt;;<br><br>That one does run but it also seems very clumsy to me.<br><br>I&#39;m getting the impression that for durations expressed like -3::second the minus sign somehow isn&#39;t a part of the number while elsewhere it is. This doesn&#39;t strike me as very coherent.<br>
<br>While I was testing some other things around negative durations I noticed that this will crash with seg-fault;<br><br>second -=&gt; now;<br><br>Admittedly it would be a type of expression that would only be useful with negative durations... Probably quite rare but it shouldn&#39;t crash the whole VM like that.<br>
<br>Yours,<br>Kas.<br>