Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3a22af6b5d521710521736b9a99022d875d115b694d371bbb43dcdb4ed170474
Ticket: 7b51dbf6ca834b4e88b4be497b08e5fb08512f65
Code using namespace exported commands not regenerated correctly
User & Date: sebres on 2019-05-23 08:44:06
Changes

  1. icomment:
    This has basically nothing with optimization and going to missing epoch "check" of compiled blocks with imported commands from other namespace...
    <code><pre style="padding-left:10pt">
    % namespace inscope tcl::dict {namespace export get}
    % namespace import tcl::dict::get
    % proc t1 {} {get {a 1} a}
    % t1; # get is compiled to dictGet 1
    1
    % proc tcl::dict::get args error; # overwrite command with proc
    % t1; # still compiled as dictGet 1
    1
    </pre></code>
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"