aboutsummaryrefslogtreecommitdiff
path: root/tests/ref.test
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2021-07-08 22:15:07 +1000
committerSteve Bennett <steveb@workware.net.au>2021-07-08 22:36:50 +1000
commit500866719dde1cb03d87b550cc8998b31d9e1316 (patch)
tree32dbb05cdf3318090ff697790c3139ad8dbbbf92 /tests/ref.test
parent40298deee7cd1e72cb5e34ef98e07bc6adff2573 (diff)
downloadjimtcl-500866719dde1cb03d87b550cc8998b31d9e1316.zip
jimtcl-500866719dde1cb03d87b550cc8998b31d9e1316.tar.gz
jimtcl-500866719dde1cb03d87b550cc8998b31d9e1316.tar.bz2
collect: correctly handle references as globally scoped names
When a reference is used as a command name (e.g. in oo.tcl) it is created in the global namespace as ::<reference... The current check for references that are commands with a reference count of 1 doesn't take this into account so these references were not being garbage collected. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/ref.test')
0 files changed, 0 insertions, 0 deletions