diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-03-01 09:14:26 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-03-01 09:14:26 -0800 |
commit | 0a2923dd24398c24a60c9cd0031c4079b211fdc9 (patch) | |
tree | 8a535c156cddeaf09498028a30b4bb0a7616ddbc /arith.h | |
parent | df3789cfece5eaa149d76b07eda310c607288fbb (diff) | |
download | txr-0a2923dd24398c24a60c9cd0031c4079b211fdc9.tar.gz txr-0a2923dd24398c24a60c9cd0031c4079b211fdc9.tar.bz2 txr-0a2923dd24398c24a60c9cd0031c4079b211fdc9.zip |
trace: bugfix in method redefinition check.
If the trace module has been loaded, we can't
define methods. Repro:
1> (trace)
nil
2> (defmeth time foo (me))
** static-slot-home: #<struct-type time> has no static slot named foo
* struct.c (static_slot_ensure): Do the trace_check
after calling static_slot_ens_rec so that the slot exists.
If the slot doesn't exist, an exception occurs when
sys:trace-canonicalize-name calls static-slot-home.
Diffstat (limited to 'arith.h')
0 files changed, 0 insertions, 0 deletions