Skip to content
Tcl Source Code Artifact [f46067525d]
Login

Artifact [f46067525d]

Artifact f46067525da87bf4dc66e3c3265932b4a211b593:

Ticket change [f46067525d] - New ticket [3610404fffffffff|3610404fff] <i>re-resolution gets wrong target</i>. by dgp on 2013-04-09 18:57:23.
D 2013-04-09T18:57:23
J assignee dkf
J cmimetype text/plain
J comment \nHere's\sthe\sreal\sbug\sI've\sbeen\sstriving\sto\sdemonstrate,\nrecording\smismatches\swith\sexec\stracing\scapability\nalong\sthe\sway.\n\noo::object\screate\sfoo\noo::objdefine\sfoo\s{\n\s\s\s\smethod\starget\s{}\s{puts\sHit!}\n\s\s\s\sforward\sbar\smy\starget\n\s\s\s\smethod\sbump\s{}\s{\n\s\s\s\s\s\s\s\sset\sns\s[info\sobject\snamespace\s::foo]\n\s\s\s\s\s\s\s\srename\s${ns}::my\s${ns}::\n\s\s\s\s\s\s\s\srename\s${ns}::\s${ns}::my\n\s\s\s\s}\n}\nproc\sharness\s{}\s{\n\s\s\s\sfoo\starget\n\s\s\s\sfoo\sbar\n}\nproc\shandle\s{cmd\sargs}\s{\n\s\s\s\sfoo\sbump\n}\ntrace\sadd\sexecution\sharness\senterstep\shandle\nproc\smy\s{method}\s{\n\s\s\s\sputs\sMissed!\n}\nharness\n\nOutput:\n\nHit!\nMissed!\n\nThe\sre-resolution\sof\s"my"\shappens\sin\sthe\swrong\ncontext.\n\nComparing\swith\sthe\smachinery\sin\s[tailcall],\sI\sthink\nthis\sone\shas\sa\ssimple\sfix.
J foundin current:\s8.6.0
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 35.\sTclOO\sPackage
J title re-resolution\sgets\swrong\starget
J type Bug
K 3610404fffffffffffffffffffffffffffffffff
U dgp
Z 7dc6d7168188d7443b52afbbc1c0e393