Skip to content
Tcl Source Code Artifact [90ca389b2f]
Login

Artifact [90ca389b2f]

Artifact 90ca389b2f2bd277d897f09b203a0fba2b8abe0d:

Ticket change [90ca389b2f] - New ticket [218042ffffffffff|218042ffff] <i>braces required on expression in while statements - not docu</i>. by nobody on 2000-10-26 00:52:30.
D 2000-10-26T00:52:30
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1364\sBug\nVersion:\s8.0.4\nSubmitDate:\s'1999-03-02'\nLastModified:\s'1999-08-07'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\spat\nChangedBy:\shobbs\nOS:\sSolaris\nOSVersion:\s2.6\nMachine:\sOther\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-08-07'\n\n\nName:\nRaj\n\nExtensions:\nmany\n\nReproducibleScript:\n\sThe\scode\n\n\s\swhile\s[doSomething]\s{\n\s\s\s\s\s\s...\n\s\s}\n\n\sused\sto\swork\swith\stcl8.0,\swhere\sthe\sproc\s"doSomething"\sgets\sevaluated\sprior\sto\severy\siteration.\sFor\ssome\sreason,\sit\sneeds\sbraces\saround\sthe\sexpression\sin\ntcl8.0.4.\sI\sfound\sit\sthe\shard\sway\safter\sone\sof\smy\sprograms\sran\sinto\san\sinfinite\sloop.\sI\sdon't\sknow\swhere\sthe\sextra\sround\sof\ssubstitution\scrept\sinto\sver\s8.0.4.\s\sAlso,\sno\sinformation\sregarding\sthis\seffect\sis\smentioned\sin\sany\sof\sthe\srelease\sdocumentation.\s\n\nDesiredBehavior:\nproper\sdocumentation\sof\schanges.\s\n\n\n\nThe\sfact\sthat\sit\swas\snot\srequired\sin\searlier\s8.0\sreleases\swas\sthe\nbug.\s\sAccording\sto\sthe\srules\sof\ssubstitution,\sthe\sabove\sbecoming\nan\sinfinite\sloop\sis\sthe\sstated\sbehavior.\s\sIt\swould\sbe\seval'ed\sonly\nonce\s(let's\ssay\sto\strue),\sand\sthen\sthat\sis\scached\sfor\slater\siterations.\nPlacing\sthe\s{}s\saround\sthe\sconditional\sare\srequired\sto\smake\ssure\sit\nwill\sbe\sevaluated\sat\severy\siteration.\s\n--\s08/07/1999\shobbs
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title braces\srequired\son\sexpression\sin\swhile\sstatements\s-\snot\sdocu
J type Bug
K 218042ffffffffffffffffffffffffffffffffff
U nobody
Z 4be1479955a2a7154b54c5085e454be2