On 03/23/2012 05:30 AM, Patrick R. Michaud wrote:
> On Fri, Mar 23, 2012 at 03:03:09PM +1300, Martin D Kealey wrote:
>> Question: do we support
>>      1, 2i, -4 ... 256
> I think this ought to work, but for some reason Rakudo on my system
> hangs whenever I try it.

The problem was that infix:<!=> hung with Complex numbers, because it
was defined for each numeric type, but the Complex candidate was
missing. Thus the most general candidate called .Numeric on its
arguments, re-dispatched, and looped infinitely.

Fixed in 2012.03-3-g4a247b1, and tested in S32-num/complex.t.
This also fixes the sequence 1, 2i, -4 ... 256.


Reply via email to