[closer-devel] Define-Layered-Function Error in Sbcl 1.0.29
Pascal Costanza
pc at p-cos.net
Sun Aug 23 16:39:35 UTC 2009
This should work correctly, and some superficial tries at doing this
myself in SBCL 1.0.30 with the current versions of ContextL and Closer
to MOP as they are found in the source repositories, everything seems
to be fine.
Can you give me more information about your setup? What version of
SBCL do you use, what versions of ContextL and Closer to MOP (can be
found in the ASDF files)?
What did you do before you tried this? Did you run some of the test
programs provided with ContextL? Does the error occur also when you do
this in a freshly started SBCL with ContextL just loaded?
Best,
Pascal
On 23 Aug 2009, at 16:48, Seth Burleigh wrote:
> When calling (define-layered-function display-object (object)) with
> the latest version of context and closer-mop
> I get
>
> STYLE-WARNING:
> redefining =LAYERED-FUNCTION-DEFINER-FOR-DISPLAY-OBJECT= in
> DEFGENERIC
> Cannot CHANGE-CLASS objects into GENERIC-FUNCTION metaobjects.
> [Condition of type SB-PCL::METAOBJECT-INITIALIZATION-VIOLATION]
> 0: [RETRY] Retry SLIME REPL evaluation request.
> 1: [ABORT] Return to SLIME's top level.
> 2: [ABORT] Abort
> 3: [CLOSE-CONNECTION] Close SLIME connection
> 4: [ABORT] Exit debugger, returning to top level.
>
> Expanding, the problem is in this form
>
> (DEFGENERIC =LAYERED-FUNCTION-DEFINER-FOR-DISPLAY-OBJECT=
> (layer-arg OBJECT)
> (:GENERIC-FUNCTION-CLASS LAYERED-FUNCTION)
> (:ARGUMENT-PRECEDENCE-ORDER OBJECT layer-arg))
> (DECLAIM (INLINE DISPLAY-OBJECT))
>
> Apparently, it doesn’t like the layered-function argument. Any ideas
> how to fix this? I have absolutely no experience
> in making new CLOS protocols.
> Thx!
>
> _______________________________________________
> closer-devel mailing list
> closer-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/closer-devel
--
Pascal Costanza, mailto:pc at p-cos.net, http://p-cos.net
Vrije Universiteit Brussel
Software Languages Lab
Pleinlaan 2, B-1050 Brussel, Belgium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/closer-devel/attachments/20090823/92919335/attachment.html>
More information about the closer-devel
mailing list