src/class-make-proto.lisp: Choose Lisp metaclass more cleverly.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 20 Sep 2015 10:01:54 +0000 (11:01 +0100)
commit4f5ac503eaef8d661edc5c9cafdbcbe3b9450db4
treed4ae7a033fd06fd3aef107ec579cc8810594b939
parentf95caf08eea8939e1cadee0cbd8fd7daa1039124
src/class-make-proto.lisp: Choose Lisp metaclass more cleverly.

Use the same algorithm as is used to choose the runtime metaclass:
if a property names a class explicitly then use that; otherwise, choose
the most specific metaclass of any of the direct superclasses.  If there
are no proper superclasses then default to `sod-class' because that's
what `builtin' needs.
src/class-make-proto.lisp