Re: Repetition in error message when allocating arrays with incorrect dimension(s)

"R. Matthew Emerson" <[email protected]> Fri, 24 Nov 2023 17:07:06 -0800
Newsgroups gmane.lisp.openmcl.devel
Message-ID <[email protected]>

> On Nov 4, 2023, at 3:33 PM, Grégory Vanuxem <[email protected]> wrote:
> 
> The error message in compiled CL code allocating an array with a
> negative number of element (a nonsense of course) has a repeated
> "can":
> 
> Fatal error in "FRICASsys" : Cannot allocate a (SIMPLE-ARRAY
> DOUBLE-FLOAT (*)) with -4 elements.
> Objects of type (SIMPLE-ARRAY DOUBLE-FLOAT (*)) can can have at most
>                                                 ^^^^^^^
> 72057594037927935 elements in this implementation.

Thank you for pointing out that doubled word “can can”. I just committed a correction.

One can see the message in plain CCL by evaluating

(make-array -4 :element-type :double-float)