Hello,
Loading redefclass.clp fails like this.
CLIPS (6.4 2/9/21) CLIPS> (load redefclass.clp) ##~! TRUE CLIPS> (test) [new] of FOO (next [old]) [MSGFUN1] No applicable primary message-handlers found for 'show'. [PRCCODE4] Execution halted during the actions of message-handler 'show' primary in class 'FOO' [PRCCODE4] Execution halted during the actions of deffunction 'test'. FALSE
The [new] instance has 'show' handler, while the [old] hasn't.
It seems as if there are two versions of FOO.
I think this is a bug of CLIPS, also think one solution for this bug is to fix CLIPS
to raise an error when CLIPS recognized it cannot be redefined while outstanding references to it still exist.
Thanks.
I found it is resolved in revision 807.
Thanks.