summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-03-17 06:44:21 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-03-17 06:44:21 -0700
commit047647e0896f5b8b7d08df0c34c18c224b7fa2eb (patch)
tree376cee63cf41083cbf2b7b26c502b440fa0d18ac /struct.c
parente318f2a001b72f279c9f8637e5f4e7592e29eb37 (diff)
downloadtxr-047647e0896f5b8b7d08df0c34c18c224b7fa2eb.tar.gz
txr-047647e0896f5b8b7d08df0c34c18c224b7fa2eb.tar.bz2
txr-047647e0896f5b8b7d08df0c34c18c224b7fa2eb.zip
trace: detect inheritance, change name and warn.
When a method is traced that is actually derived from another struct type, we convert the (meth ...) name to refer to that type and issue a warning. * share/txr/stdlib/trace.tl (sys:trace-canonicalize-name): New function. (sys:trace): Canonicalize name, and trace the canonicalized name. Warn if it is different from the original name. (sys:untrace): Likewise for untracing.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions