Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4b7f59cbac9b0293fb7dbe243d63d8bb4e4a8524
Ticket: 231259ffffffffffffffffffffffffffffffffff
shadowing byte-compiled commands
User & Date: msofer on 2001-02-08 01:35:19
Changes

  1. icomment:
    It seems to be a deeper bug; some global commands (eg, set) are compiled directly to bytecode. Commands that shadow *them* are immune to the implementation of the 'reset on shadowing': it invalidates command *references* in the bytecode, but there is no command reference to 'set' in there!
    Maybe shadowing should force recompilation of the proc, and not just a fresh resolution of command names? In that case, a small patch to TclProcCompileProc (generic/tclProc.c) would arrange it.
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"