Open phoe opened 2 years ago
https://github.com/s-expressionists/wscl/blob/6edde3b932d5bb44512cffb843839b629cc19847/wscl-issues/proposed/aref-accessor-dimension-error#L52-L88
Question: is a TYPE-ERROR signaled in these cases?
Test cases for the above question:
(progn (defun one (object) (declare (optimize (safety 3))) (aref object 1)) (defun two (object) (declare (optimize (safety 3))) (setf (aref object 1) 345)) (list (if (typep (nth-value 1 (ignore-errors (one (make-array 1 :initial-element nil)))) 'type-error) t nil) (if (typep (nth-value 1 (ignore-errors (two (make-array 1 :initial-element nil)))) 'type-error) t nil)))
Results:
CCL: (NIL NIL) ECL: (T T) CLISP: (T T) ABCL: (T T) Clasp: (T T) CMUCL: (NIL NIL) ACL: (T T) LWPE: (NIL NIL)
https://github.com/s-expressionists/wscl/blob/6edde3b932d5bb44512cffb843839b629cc19847/wscl-issues/proposed/aref-accessor-dimension-error#L52-L88
Question: is a TYPE-ERROR signaled in these cases?
Test cases for the above question:
Results:
CCL: (NIL NIL) ECL: (T T) CLISP: (T T) ABCL: (T T) Clasp: (T T) CMUCL: (NIL NIL) ACL: (T T) LWPE: (NIL NIL)