summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-12-08 19:41:59 -0800
committerKaz Kylheku <kaz@kylheku.com>2017-12-08 19:41:59 -0800
commit8834a98cff2d8f80458957fccab5424f4b90cde5 (patch)
treef81ca46992f24e487536e4e5dd3dc82ada680a57 /Makefile
parent67bea8d7d93447767181af3ef047cb55b79f9ea0 (diff)
downloadtxr-8834a98cff2d8f80458957fccab5424f4b90cde5.tar.gz
txr-8834a98cff2d8f80458957fccab5424f4b90cde5.tar.bz2
txr-8834a98cff2d8f80458957fccab5424f4b90cde5.zip
trace: bugfix: spurious "previously traced" warning
When a method is traced with (trace (meth class slot)), a spurious warning occurs. This is because the function is recorded in the trace hash first and then the hook is installed, and the hook is installed using the static-slot-ensure function which performs the trace warning check. * share/txr/stdlib/trace.tl (sys:trace): Swap the order: install the hook first, and then put the the previous function into the trace hash. Doing this in parallel with pset would also work.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions