[Ecls-list] Coerce bug

Raymond Toy toy.raymond at gmail.com
Mon Oct 27 23:12:27 UTC 2008


Juan Jose Garcia-Ripoll wrote:
> On Sun, Oct 26, 2008 at 2:36 AM, Raymond Toy <toy.raymond at gmail.com> wrote:
>   
>> (defun zot (z)
>>  (type-of (coerce z '(complex double-float))))
>> (compile 'zot)
>> (zot 10) -> (integer 10 10)
>>
>> I think it should return (complex double-float), not integer.
>>     
>
> Yes, this is a bug of the compiler routine that optimizes and inlines
> COERCE. It will be fixed in 10 minutes.
>
>
>   
Thanks!  (I haven't tried it out yet, but will soon.)

Ray






More information about the ecl-devel mailing list