summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-08-28 07:19:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-08-28 07:19:34 -0700
commit31c42db88657d05b1f1347beeb6f4db53cf134bb (patch)
treefa9a0300fd9ecc8e7b8c53ffd66367e60c404524 /share
parent2aac8b96d028bfda879da660062ee58aae0b47be (diff)
downloadtxr-31c42db88657d05b1f1347beeb6f4db53cf134bb.tar.gz
txr-31c42db88657d05b1f1347beeb6f4db53cf134bb.tar.bz2
txr-31c42db88657d05b1f1347beeb6f4db53cf134bb.zip
trace: bug: redef of traced method resurrects old.
When a method which is traced is redefined, a warning message is correctly issued and the trace is removed. But the removal is done in the wrong order and ends up restoring the old function, clobbering the new definition. * struct.c (static_slot_ensure): Move the trace_check before the call to static_slot_ens_rec, so installation of the new method takes place after the trace is removed from the old one.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions