1.0.37.36: revisit FIND/POSITION bounds checking on lists
[sbcl.git] / src / compiler / seqtran.lisp
index 466496d..68aa5b3 100644 (file)
                                              (if from-end
                                                  (setf find element
                                                        position index)
-                                                 (unless find
-                                                   (setf find element
-                                                         position index)))))))))))))
+                                                 (return (values element index)))))))))))))
   (def %find-position-if when)
   (def %find-position-if-not unless))