I discovered (by accident) that SBCL lets you do something like this:
(defclass foo () ((slot :accessor foo-slot :allocation :nonsense)))
without any warning or error. It will only barf when actually trying to
access the slot. Allegro, on the other hand, barfs on the call to
make-instance (no big deal; I understand this is somewhat uncharted
territory, and SBCL's behavior seems more compliant to the AMOP).
What bothers me a little is the way the standard defines defclass: it
says that :allocation should be either :instance or :class. On the other
hand, it doesn't explicitely say that an error should be triggered
So, is the current behavior both standard-compliant and AMOP-compliant ?
Resistance is futile. You will be jazzimilated.
Scientific site: http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com