From: Mark Wooding Date: Thu, 26 May 2016 08:26:09 +0000 (+0100) Subject: src/class-make-impl.lisp: Don't store `nil' in the `metaclass' slot. X-Git-Url: https://git.distorted.org.uk/~mdw/sod/commitdiff_plain/981b6fb624186a54320cea34e53e16276aee2bdb?hp=981b6fb624186a54320cea34e53e16276aee2bdb src/class-make-impl.lisp: Don't store `nil' in the `metaclass' slot. Normally we can fill `metaclass' in at construction time, but this is difficult while we're bootstrapping the class graph. Previously, we'd store `nil' in the slot, and expect `bootstrap-classes' to fix things up later; but actually, the `metaclass' slot is declared to hold only `sod-class' objects. Rather than expand the slot type, delay the `guess-metaclass' machinery until class finalization (moving the code across into the relevant source files). ---