Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a49b48e06ca306e378a9ad938b96d6ac58b64ccb
Ticket: 221240ffffffffffffffffffffffffffffffffff
infinite loop - behaviour change from 8.0p2
User & Date: welch on 2000-11-04 00:35:56
Changes

  1. assignee changed to: "nobody"
  2. closedate changed to: "2000-11-03T17:35:56"
  3. closer changed to: "welch"
  4. icomment:
    This is a behavior change, but the bug was in 8.0p2, not in other versions.  In
    set foo 1
    while $foo {
        set foo 0
    }
    
    the $foo is substituted *before* the while command is invoked, so the while
    command doesn't see the variable reference.  (Or ought not to.  Early versions
    of the byte-code compiler in 8.0 didn't correctly implement substitution semantics
    in some control structures that have custom bytecodes generated for them.)
    
    
    
  5. login: "welch"
  6. mimetype: "text/plain"
  7. priority changed to: "1 Zero"
  8. resolution changed to: "Invalid"
  9. username: "welch"