1.0.29.5: list item seek transform needs to check for both :TEST and :TEST-NOT
[sbcl.git] / src / compiler / seqtran.lisp
index 8f83892..4ff8a4d 100644 (file)
            function-name key-functions variant)))
 
 (defun transform-list-item-seek (name item list key test test-not node)
+  (when (and test test-not)
+    (abort-ir1-transform "Both ~S and ~S supplied to ~S." :test :test-not name))
   ;; If TEST is EQL, drop it.
   (when (and test (lvar-fun-is test '(eql)))
     (setf test nil))