Skip to content
Tcl Source Code Artifact [93d4c65a20]
Login

Artifact [93d4c65a20]

Artifact 93d4c65a20d7d83756b342322a50ce26f7ba24bc:

Ticket change [93d4c65a20] - Ticket [707104ffffffffff|707104ffff] <i>[interp alias] commands cannot be [rename]d</i> status still Open with 4 other changes by vincentdarley on 2003-03-21 15:48:24.
D 2003-03-21T15:48:24
J icomment Logged\sIn:\sYES\s\nuser_id=32170\n\nThe\s'rename'\sman\spage\sneeds\supdating\sthen\sto\sreflect\sthis\slimitation.\s\sIt's\s\na\sshame\sthat\saliases\sdon't\swork\sin\sthis\sway,\ssince\sthey\sare\sotherwise\sa\s\nvery\spowerful\spart\sof\sTcl.\s\sHowever,\sthey\scompletely\sbreak\sthe\s\nsemantics\sof\sa\sTcl\scommand,\swhich\sis\sbad!\n\nIs\sthere\sany\sreason\s'interp\saliases'\scan't\sreturn\sthe\s*current*\sname\sof\sthe\s\nalias,\swhich\susers\scan\squite\shappily\siterate\sover.\sI\swouldn't\seven\ssee\sthis\s\nas\sa\sback-compatibility\sissue,\sbut\sas\sa\sbug\sfix.\n\nAfter\sall:\n\nproc\sfoo\s{}\s{}\nrename\sfoo\sbar\ninfo\sprocs\sfoo\n#\sshould\sobviously\snot\sreturn\s'foo'\n\nSo,\ssimilarly\n\ninterp\salias\s{}\sfoo\s{}\simplementation\nrename\sfoo\sbar\ninterp\saliases\n#\sshould\snot\sreturn\sfoo\seither\n\n\n
J login vincentdarley
J mimetype text/plain
J username vincentdarley
K 707104ffffffffffffffffffffffffffffffffff
U vincentdarley
Z fcaf63370a76c77e1e90b61d651745d0