Skip to content
Tcl Source Code Artifact [33910da480]
Login

Artifact [33910da480]

Artifact 33910da48094069a663b79686e4911195351e34a:

Ticket change [33910da480] - Ticket [631741ffffffffff|631741ffff] <i>&quot;variable&quot; can&#39;t not call var resolvers</i> status still Open with 5 other changes by msofer on 2003-02-25 03:46:19.
D 2003-02-25T03:46:19
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\n1)\s*wonderful*\sbug\sreport,\swith\sso\smuch\sdetail.\sThanks!\n\n2)\sI'm\snot\ssure\sI\sunderstand\swhy\sItcl\s(or\sany\sother\nextension)\swould\swant\sto\s"create\sa\snew\slocal\svariable\sand\nlink\sit\sto\sa\snamespace\svariable,\sif\sa\sregistered\spackage\nlike\s[incr\sTcl]'s\svariable\sresolver\snormally\smakes\sthe\nnamespace\svariable\svisible\sin\sa\slocal\sprocedure\sscope."\sThe\nsemantics\sare\ssomewhat\smysterious\sto\sme.\n\nThe\spoint\sbeing:\sthe\slocal\sname\salready\srefers\sto\sthe\nnamespace\svariable\sper\sthe\sresolution\srules;\swhy\sdo\swe\sneed\nto\screate\sa\slocal\svar\sthat\salso\srefers\sto\sthe\ssame\snamespace\nvariable?\sPerformance?\n\s\nThis\smisunderstanding\sgoes\sdeeper\sinto\sthe\sproblems\sI\shave\nwith\sthe\sname\sresolution\srules:\sthe\swhole\sresolver\smechanism\nimplies\sthat\sa\svariable\sname\swithin\sa\sproc\sdefines\sa\nvariable\sif\sthe\sresolver\scannot\sfind\sa\spre-existing\nsame-named\svariable\sin\sthe\sresolution\spath;\sotherwise,\sit\nrefers\sto\sthe\sresolved\svariable.\sState-dependence\sof\s(name\nresolution\srules\sand\sappearance\sof\sside-effects)\ssounds\npretty\sdangerous\sto\sme.\n\nThis\sbeing\ssaid,\sI'm\sworking\son\spatch\sthat\sshould\ssolve\sthis\nissue.\s\n\n\n\n
J login msofer
J mimetype text/plain
J title "variable"\scan't\snot\scall\svar\sresolvers
J username msofer
K 631741ffffffffffffffffffffffffffffffffff
U msofer
Z 8a9e2a7d5e72ad84e38fd7e7455bd079