Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e18710847bca1d4d28724daa7c427085f8027f9d460ce28af31838adcd26be4b
Ticket: 7b51dbf6ca834b4e88b4be497b08e5fb08512f65
Code using namespace exported commands not regenerated correctly
User & Date: serhiy.storchaka on 2026-10-14 15:25:07
Changes

  1. icomment:
    The imported command gets a copy of the compileProc of the original command at import time, and keeps it when the original command is redefined, so the recompiled code still uses the old compileProc.
    
    Proposed fix in branch [/timeline?r=compile-imported-cmd-redefined|compile-imported-cmd-redefined]: an imported command is compiled as the command it refers to. Tests namespace-12.2 to namespace-12.6.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"