I get several warnings in SBCL 1.0.20 that are related to use of dynamic-extent. For example, here it complains about 'COLLECT' is an indefined variable:<br><br>(defun get-query-instances (constraints)<br> "Get a list of instances according to the query constraints"<br>
(declare (dynamic-extent constraints))<br> (let ((list nil))<br> (flet ((collect (inst)<br> (push inst list)))<br> (declare (dynamic-extent collect))<br> (map-class-query #'collect constraints))))<br>
<br>There are 5 warnings for patterns just like the one above.<br><br>Should (dynamic-extent collect) be in fact (dynamic-extent #'collect) ?<br><br>Yarek<br>