[Ecls-list] ContextL functions with &key args don't work properly in ECL.

Pascal Costanza pc at p-cos.net
Sat Mar 13 13:14:10 UTC 2010


Getting back to an older thread - sorry for the delay...

On 24 Feb 2010, at 18:51, Alexander Gavrilov wrote:

> 
> Also, even with (debug 3) layered method calls appear in the
> stack trace as useless uninterned symbols.
> 

I tried to recreate this with a simple example:

(define-layered-function foo (x))

(define-layered-method foo (x) (/ x 0))

(foo 5)

What I get is a backtrace where there is a call to foo, and then a call to an anonymous lambda, which I think is the correct behavior. As I tried to argue in another post, method functions are by definition anonymous, and I strongly think they should remain anonymous. What you see in the backtrace, though, is that there is an invocation to FOO, which should be the information that you need, no?

Is this different from what you see? If so, what do you see, and what would you expect instead?


Best,
Pascal

-- 
Pascal Costanza, mailto:pc at p-cos.net, http://p-cos.net
Vrije Universiteit Brussel
Software Languages Lab
Pleinlaan 2, B-1050 Brussel, Belgium










More information about the ecl-devel mailing list