Skip to content
Tcl Source Code Artifact [6fa09f1082]
Login

Artifact [6fa09f1082]

Artifact 6fa09f1082c8cc53e3f5baf0d72d73d479a5b994:

Ticket change [6fa09f1082] - Ticket [1577282fffffffff|1577282fff] <i>TIP 283: ensemble&#39;s command resolution</i> status still Open with 4 other changes by msofer on 2006-11-02 03:40:27.
D 2006-11-02T03:40:27
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nUpdated\spatch\sthat\sworks\sin\sHEAD.\sIt\sbreaks\stest\scmdAH-24.12\nin\sa\sweird\smanner\s-\sby\sbreaking\sautoloading\sof\s[clock\sscan].\nThe\sreason\sis\sexposed\sbelow;\sthe\sproblem\swith\sclock\scan\sbe\nfixed\seasily,\sbut\sthe\swider\sproblem\smay\sbe\smore\simportant.\n\n***\sDANGER\s***\n\nAs\sthe\s"fix"\sfor\s[info\slevel]\sin\sHEAD\swas\sreverted\s(Bug\n1577492,\spreviously\scalled\s"let\s[info\slevel]\sknow\sensemble\nrewrites"),\sthis\snew\sfeature\sbreaks\snother\susual\sidiom.\n\n\s\s'uplevel\s1\s[info\slevel\s0]'\sis\sNOT\sGUARANTEED\sto\scall\sthe\npresent\sproc\sagain\n\nThis\sis\sbecause:\n(a)\s'namespace\sensemble'\sdoes\snot\spush\sa\snew\sframe\n(b)\s'namespace\sensemble'\scalls\sby\ssimple\sname\s(non\squalified)\n(c)\s'info\slevel\s0'\sreflects\sonly\sthe\sactual\scall,\sie,\sa\nsimple\sname\n\nAs\san\sillustration,\swith\sthis\spatch\swe\sget:\n\n%\snamespace\seval\sa\s{\n\s\s\s\svariable\sct\s0\n\s\s\s\snamespace\sensemble\screate\s-map\s{x\sscan}\n\s\s\s\sproc\sscan\sargs\s{\n\s\s\s\s\s\s\s\svariable\sct\n\s\s\s\s\s\s\s\sif\s{$ct}\s{\n\s\s\s\s\s\s\s\s\s\s\s\sputs\sYES\n\s\s\s\s\s\s\s\s\s\s\s\sreturn\n\s\s\s\s\s\s\s\s}\n\s\s\s\s\s\s\s\sincr\sct\n\s\s\s\s\s\s\s\suplevel\s1\s[info\slevel\s0]\n\s\s\s\s}\n}\n%\sa\sx\nwrong\s#\sargs:\sshould\sbe\s"scan\sstring\sformat\s?varName\svarName\n...?"\n
J login msofer
J mimetype text/plain
J username msofer
K 1577282fffffffffffffffffffffffffffffffff
U msofer
Z fa381319943de439983f1a94e58d6b79