Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4dffad2739dd1c8f28b13d9f896277146961cc0b
Ticket: 218771ffffffffffffffffffffffffffffffffff
set/incr byte-code compilation doesn't react on overwritting
User & Date: nobody on 2000-10-26 01:05:10
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2071 Bug
    Version: 8.0.5
    SubmitDate: '1999-05-14'
    LastModified: '1999-10-21'
    Severity: MED
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    OS: Linux
    OSVersion: RedHat 5.1
    Machine: NA
    FixedDate: '1999-10-21'
    FixedInVersion: 8.2
    ClosedDate: '2000-10-25'
    
    
    Tcl 8.0.5 Bug
    
    Name:  Uwe Zdun
    email:  [email protected]
    Support:  None
    Severity:  3
    OperatingSystem:  Linux (Red Hat 5.0+ on Intel)
    OperatingSystemVersion:  rh 5.1
    Synopsis:  set/incr byte-code compilation doesn't react on overwritting
    
    ReproducibleScript:
        if I do something like: 
          rename ::set ::tcl_set
          proc set args {puts ***$args}
        in a script the byte-code compiler does not update the compilation on 
        the global level (interactively (of course) it functions well)
        
        if I call afterwards:
          set r 45
          puts $r
        the original set is invoked, while in a "namespace eval" and 
        in procs the user-defined set is invoked
        
        
    
    DesiredBehavior:
        the toplevel script should be recompiled, when overwriting set/incr and
        the 
        other compiled commands. do you have a patch
        for this problem?? 
        
        by the way, the same happens if I overwrite set/incr from C,
        
        I have worked around this problem by overwriting set/incr before
        byte-code
        compilation, but since I don't need this all the time, this reduces
        performance 
        
    
    
    This works as expected in 8.2. 
    -- 10/21/1999 hobbs
    
  4. foundin changed to: "final: 8.0.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    set/incr byte-code compilation doesn't react on overwritting
    
  11. type changed to: "Bug"