You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On LispWorks at least, compiling it using q;quickload errors when it tries to do the defclass api at compile-time. The error is :required is invalid keyword for make-instance of standard-direct-slot-definition. api has metclass api-call, which has methods like c2mop:direct-slot-definition-class that return a other slot class definition, but they are not defined yet, because methods are not defined at compiled time according to the standard (while classes are).
I can go around it by loading the lisp file and then compiling, but the right solution is to put the methods in a separate file that is loaded first. Normally they should be in th esame file where the clas is defined (which is why the standard specify that classes are defined at compile time). I think basically all the code above the defclass api in api-protocol.lisp should be in classes.lisp.
lunamech-matrix-api/api/v2/protocol/api-protocol.lisp
Line 109 in cead2f3
On LispWorks at least, compiling it using q;quickload errors when it tries to do the defclass api at compile-time. The error is :required is invalid keyword for make-instance of standard-direct-slot-definition. api has metclass api-call, which has methods like c2mop:direct-slot-definition-class that return a other slot class definition, but they are not defined yet, because methods are not defined at compiled time according to the standard (while classes are).
I can go around it by loading the lisp file and then compiling, but the right solution is to put the methods in a separate file that is loaded first. Normally they should be in th esame file where the clas is defined (which is why the standard specify that classes are defined at compile time). I think basically all the code above the defclass api in api-protocol.lisp should be in classes.lisp.
defclass
defmethod
The text was updated successfully, but these errors were encountered: