Greetings!

"Paul F. Dietz" <[EMAIL PROTECTED]> writes:

> Camm Maguire wrote:
> > Greetings!
> > What is '(array nil) suposed to mean?
> 
> It's the type of arrays with element type nil.
> 
> These arrays are specialized to hold nothing at all.
> Weird, but since (upgraded-array-element-type nil) is required
> to be nil, the type has to exist.
> 
> It's probably a spec bug that this is the case.  There's
> a note, :allow-nil-arrays, that should be attached to all
> tests involving this type.  Go ahead and disallow tests
> with this note for gcl if you'd like.
> 

Just a followup observation here -- I've added the note, but something
is still throwing nil array types in the test suite, forcing me to use
the following workaround at present:

gcl_predlib.lsp:

(defconstant +array-types+ (si::aelttype-list))
(defconstant +array-types-with-nil-for-ansi+ (append '(nil) +array-types+))

If this is ever tracked down and fixed, please let me know and I'll
remove the latter constant.

Take care,

>       Paul
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            [EMAIL PROTECTED]
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah


_______________________________________________
Gcl-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to