1.0.17.23: respect displacement indices when trimming strings (regression 1.0.12.23)
[sbcl.git] / src / pcl / ctor.lisp
index 9baa699..9b565be 100644 (file)
     (when (eq (layout-invalid (class-wrapper class)) t)
       (force-cache-flushes class))
     (setf (ctor-class ctor) class)
-    (pushnew ctor (plist-value class 'ctors))
+    (pushnew ctor (plist-value class 'ctors) :test #'eq)
     (setf (funcallable-instance-fun ctor)
           (multiple-value-bind (form locations names)
               (constructor-function-form ctor)