[Openmcl-devel] metaclass problems with Elephant
Tim Bradshaw
tfb at tfeb.org
Tue Sep 13 07:48:45 PDT 2011
On 13 Sep 2011, at 15:18, Alex Mizrahi wrote:
> I don't know any way to reproduce it which does not involve loading
> elephant (and I'm not even totally sure that this bug is not caused by
> some Elephant's mis-use of MOP), but perhaps information above is
> enough?
I'm fairly sure that redefinition of metaclasses is not allowed in the original AMOP MOP, anyway. See "Restrictions on Portable Programs" in http://www.alu.org/mop/concepts.html, and in particular this:
"Portable methods on specified generic functions specialized to portable metaobject classes must be defined before any instances of those classes (or any subclasses) are created, either directly or indirectly by a call to make-instance. Methods can be defined after instances are created by allocate-instance however. Portable metaobject classes cannot be redefined."
More information about the Openmcl-devel
mailing list