src/class-make-{proto,impl}.lisp: Don't make duplicate initargs.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 3 Aug 2019 14:20:46 +0000 (15:20 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 3 Aug 2019 15:46:21 +0000 (16:46 +0100)
commit03570bbb9027efe5485d4776fc22d93ad410a892
treec410f2b025c32c4b43d743373d4481276bb51de2
parent81054f0131824964d2cebfd7dec6f18be113020b
src/class-make-{proto,impl}.lisp: Don't make duplicate initargs.

If you set an initarg property on a slot definition which includes an
initializer then both the slot definition and the initializer act on the
initarg property and you end up with two initargs.  This isn't actually
a major problem, but it's ugly.

Add a new keyword argument to `make-sod-instance-initializer' to prevent
this from happening.
doc/meta.tex
src/class-make-impl.lisp
src/class-make-proto.lisp