Artifacts Associated With Ticket 218042
Ticket change [90ca389b2f] (rid 120511) by nobody on 2000-10-26 00:52:30:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1364 Bug Version: 8.0.4 SubmitDate: '1999-03-02' LastModified: '1999-08-07' Severity: MED Status: Closed Submitter: pat ChangedBy: hobbs OS: Solaris OSVersion: 2.6 Machine: Other FixedDate: '2000-10-25' ClosedDate: '1999-08-07' Name: Raj Extensions: many ReproducibleScript: The code while [doSomething] { ... } used to work with tcl8.0, where the proc "doSomething" gets evaluated prior to every iteration. For some reason, it needs braces around the expression in tcl8.0.4. I found it the hard way after one of my programs ran into an infinite loop. I don't know where the extra round of substitution crept into ver 8.0.4. Also, no information regarding this effect is mentioned in any of the release documentation. DesiredBehavior: proper documentation of changes. The fact that it was not required in earlier 8.0 releases was the bug. According to the rules of substitution, the above becoming an infinite loop is the stated behavior. It would be eval'ed only once (let's say to true), and then that is cached for later iterations. Placing the {}s around the conditional are required to make sure it will be evaluated at every iteration. -- 08/07/1999 hobbs - foundin initialized to: "obsolete: 8.0.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to:
braces required on expression in while statements - not docu
- type initialized to: "Bug"
Ticket change [a7fdd138a7] (rid 98899) by welch on 2000-10-26 08:13:43:
- closedate changed to: "2000-10-26T01:13:43"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [86e9060a1f] (rid 131599) by dgp on 2001-04-16 23:45:17:
- closedate changed to: "2001-04-16T16:45:17"
- closer changed to: "dgp"
- resolution changed to: "Invalid"
- subsystem changed to: "45. Parsing and Eval"