Just before we're about to create an object, finalize the class if it
isn't already finalized, so that we can get at the class prototype.
changes relative to sbcl-1.0.50:
* bug fix: correct RIP offset calculation in SSE comparison and shuffle
instructions. (lp#814688)
+ * bug fix: COERCE to unfinalized extended sequence classes now works.
+ (reported by Jan Moringen; lp#815155)
changes in sbcl-1.0.50 relative to sbcl-1.0.49:
* enhancement: errors from FD handlers now provide a restart to remove
((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)))