X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcoerce.lisp;h=81f27b2f232f4b6866a973004a6876a8a9043997;hb=3cfc1f0bc414d2db71de519152d72d479f1f6232;hp=a4a93f0c41c78477982247775110fb0683860923;hpb=6de517974934588c8b5c6355e04bef11af9db3d0;p=sbcl.git diff --git a/src/code/coerce.lisp b/src/code/coerce.lisp index a4a93f0..81f27b2 100644 --- a/src/code/coerce.lisp +++ b/src/code/coerce.lisp @@ -80,9 +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-warning 'instance-lambda 'lambda) - (eval `(function ,object))) (t (error 'simple-type-error :datum object @@ -244,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)))