call_function() and callers()
Pavel Curtis (pavel@parc.xerox.com)
Mon, 22 Apr 1996 10:44:29 PDT
Brian Buchanan writes:
> Using call_function() to call a builtin which calls verbs (move(),
> specifically, but probably create() and recycle() too) causes the callers()
> list to be erroneous. When I do call_function("move",#2,#11), #11's
> enterfunc sees the callers() stack as {{#-1, "call_function", #-1, #-1, #2},
> ... }. It would be a lot more consistent and acurate perhaps if it looked
> like {{#-1, "move", #-1, #-1, #2}, {#-1, "call_function", #-1, #-1, #2},
> ... } IMO.
Arguably correct, but nontrivial to implement. I won't be trying to fix this
on my watch. Maybe the next maintainer...
Pavel