Changeset 13119


Ignore:
Timestamp:
01/02/11 20:27:23 (11 years ago)
Author:
ehuelsmann
Message:

Fix ANSI-TEST regressions from r13096:

Arrays with an element-type of NIL can't store anything, not even NIL,
because the type of NIL is NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/make_array.java

    r13096 r13119  
    184184          {
    185185            v = new NilVector(size);
    186             defaultInitialElement = NIL;
     186            defaultInitialElement = null;
    187187          }
    188188        else
     
    220220        else
    221221          {
    222             v.fill(defaultInitialElement);
     222            if (defaultInitialElement != null)
     223              v.fill(defaultInitialElement);
    223224          }
    224225        if (fillPointer != NIL)
Note: See TracChangeset for help on using the changeset viewer.