Test assoc-2-error with compiler macro
lisp
COMMON-LISP-USER>> (let ()(assoc 3 (list (list 1 3) 2)))
Debugger received error of type: SEGMENTATION-VIOLATION
Segmentation fault. Attempted to access resticted memory address #x5.
This is due either to a problem in foreign code (e.g., C++), or a bug in Clasp itself.
Error flushed.
` but without compiler macro
lisp
COMMON-LISP-USER>> (let ()(locally (declare (notinline assoc))
(assoc 3 (list (list 1 3) 2))))
Debugger received error of type: TYPE-ERROR
2 is not of type LIST.
Error flushed.
`
该提问来源于开源项目:clasp-developers/clasp