.
D 2007-07-01T19:17:56
J assignee dgp
J cmimetype text/plain
J comment Notice\sthat\straces\sset\sduring\sunset\straces\ssurvive\sthe\s[unset]\s-\swhich\sis\sIMO\smore\sthan\swhat\sthe\sman\spage\spromises\swith\s"Traces\sare\snot\sdisabled\sduring\sunset\straces,\sso\sif\san\sunset\strace\scommand\screates\sa\snew\strace\sand\saccesses\sthe\svariable,\sthe\strace\swill\sbe\sinvoked".\sBug\sor\snot?\sShould\sthe\svariable\salways\sbe\scompletely\sgone\safter\s[unset]?\n\nWitness:\n\n%\strace\sadd\svariable\sx\sunset\s{trace\sadd\svariable\s::x\sunset\s{puts\sfoo;#}\s;#}\n%\strace\sinfo\svariable\sx\n{unset\s{trace\sadd\svariable\s::x\sunset\s{puts\sfoo;#}\s;#}}\n%\sset\sx\s1;\sunset\sx\n%\strace\sinfo\svariable\sx\n{unset\s{puts\sfoo;#}}\n\nInteresting\seffect:\sunsetting\sa\svar\sin\sa\snamespace\sdoes\snot\sguarantee\sthat\slater\supvars\sgo\sto\sthe\sglobal\snamesake.\n\n%\sset\sx\s1\n1\n%\snamespace\seval\sa\s{\nset\s::a::x\s2\ntrace\sadd\svariable\sx\sunset\s{trace\sadd\svariable\sx\sunset\s{puts\sfoo;#}\s;#}\nunset\sx\nupvar\s0\sx\sy\nset\sy\s3\n}\n3\n%\sset\sx\n1\n%\sset\sa::x\n3\n%\sunset\sa::y\nfoo\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter msofer
J subsystem 07.\sVariables
J title bug?\sUnset\smay\snot\scompletely\sremove\sthe\svariable
J type Bug
K 1746143fffffffffffffffffffffffffffffffff
U msofer
Z 6ce1db3cb8608eefa4861a49f0ab7c45