Skip to content

Commit 9d8b7e7

Browse files
authored
Merge pull request #6 from ajberkley/ajb/finalize-class-first
Finalize classes before calling class-slots in case we are restoring …
2 parents f5f9ec8 + 24bbad7 commit 9d8b7e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/objects.lisp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@
8484
"Return a list of slot names (symbols) skipping :class allocation slots if
8585
*store-class-slots* is t."
8686
(assert class)
87+
(unless (class-finalized-p class)
88+
(finalize-inheritance class))
8789
(loop with store-class-slots = *store-class-slots*
8890
with is-structure-object = (or (typep class 'structure-class) ;; allegro work around
8991
(subtypep class 'structure-class))

0 commit comments

Comments
 (0)