--- Edi Weitz <edi@...> wrote:
> On Tue, 27 Jan 2004 16:08:03 -0800 (PST), John Klein <jk271828@...>
> The standard says that "the consequences of redefining a defstruct
> structure are undefined." So, in this case, SBCL can do whatever it
> wants... :)
Yes, but SBCL seems to be allowing a redefinition, but then chokes on
a typechecking error elsewhere after an apparently successful redefinition.
Is this really what SBCL _wants_, or is it a deviation from the desired
Essetially, it looks like a problem at the function typechecking level,
where the function make-field returns something that isn't expected.
CMUCL and SBCL seem to pursue the sensible strategy of throwing
errors when structure redefinition occurs, but then accepting the new
definition after the user overrides the old definition, and this error
looks like a failure of that strategy at one strange point.
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!