Skip to content
Tcl Source Code Artifact [b56a425810]
Login

Artifact [b56a425810]

Artifact b56a425810faa79571561f02a6b8dc7d60a3ade4:

Ticket change [b56a425810] - Ticket [449279ffffffffff|449279ffff] <i>[namespace which -var] ignores aliases</i> status still Open with 4 other changes by dgp on 2001-08-09 06:36:49.
D 2001-08-09T06:36:49
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\nAfter\schat\sdiscussions\swith\sMiguel,\sit\sseems\nthere's\sboth\sa\sbug\sand\sa\sfeature\srequest\shere.\n\n[namespace\swhich\s-variable]\sshould\sreflect\sthe\nactual\sresolution\srules.\s\sAs\sis,\swhen\scalled\ninside\sa\sproc,\sit\sdoesn't\sexamine\sthe\slocal\scontext\nat\sall.\s\sAlso,\swhen\sthe\svariable\sname\sdoes\snot\ncontain\sany\snamespace\squalifiers,\sit's\sresolution\nwill\snot\sinvolve\sother\snamespaces\sat\sall,\syet\n[namespace\swhich\s-var]\swill\sstill\sact\slike\sit\sdoes.\n\nIn\sthe\sexample,\sit\swould\sbe\sbetter\sto\ssee\n\n%\sbar::test\nx\sis\sx\n\nIndicating\sthat\sin\sthe\scontext\sof\sthe\sbody\sof\nproc\s[bar::test],\s"x"\sis\sa\slocal\svariable,\sand\nwon't\sbe\sresolved\sin\sother\snamespaces.\n\nIn\saddition,\swe\sneed\sthe\sability\sto\sdetermine\sthe\nultimate\sreference\sof\slocal\svariables\sthat\sare\nreally\saliases\screated\sby\s[upvar],\s[variable],\netc.\s\sThat's\sthe\sFeature\sRequest\spart,\sand\swill\nneed\ssome\sthinking.\s\s(What\sabout\sreferences\sto\nother\sproc\scontexts?,\setc.)\n
J login dgp
J mimetype text/plain
J username dgp
K 449279ffffffffffffffffffffffffffffffffff
U dgp
Z 0f7705e4af17b48d571b150512fb8ce1