12 Mar
2010
12 Mar
'10
4:45 p.m.
* Raymond Toy [2010-03-12 12:35+0100] writes:
So COMPILE has silently zapped the structure. We should probably print he warning for this too.
Yes, definitely. Also for this: (defstruct xyz a) (setf (fdefinition 'xyz-a) (lambda () 42))
Note that in both cases any existing structures will be in a bad state. They still exist, but there's not much you can do with them.
Compiled could would continue to work since accessors are inlined. Also (type-of (make-xyz)) still works. The printer is effed up, though. Helmut