X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcoerce.lisp;h=81f27b2f232f4b6866a973004a6876a8a9043997;hb=19180214a7fd95ab467020469b7182f5ac62bcde;hp=928f24ba7c0f1e60fb41e74bcc341886ffb91c50;hpb=4fa1c71c7dfa5c6d361304321cc67069a6410694;p=sbcl.git diff --git a/src/code/coerce.lisp b/src/code/coerce.lisp index 928f24b..81f27b2 100644 --- a/src/code/coerce.lisp +++ b/src/code/coerce.lisp @@ -80,8 +80,6 @@ ;; FIXME: If we go to a compiler-only implementation, this can ;; become COMPILE instead of EVAL, which seems nicer to me. (eval `(function ,object))) - ((instance-lambda) - (deprecation-error "0.9.3.32" 'instance-lambda 'lambda)) (t (error 'simple-type-error :datum object @@ -243,6 +241,8 @@ ((and (csubtypep type (specifier-type 'sequence)) (find-class output-type-spec nil)) (let ((class (find-class output-type-spec))) + (unless (sb!mop:class-finalized-p class) + (sb!mop:finalize-inheritance class)) (sb!sequence:make-sequence-like (sb!mop:class-prototype class) (length object) :initial-contents object)))