Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5c36277369cf67f10ba40ed0b4bfe6d3ae82af4e
Ticket: 1493a4304444fcfbe6ed72638f404431e03a39d7
namespace upvar / TclOO problem
User & Date: dkf on 2016-07-07 10:14:57
Changes

  1. icomment:
    Thank you for the hint about <code>AVOID_RESOLVERS</code>. It does appear to be exactly the missing ingredient precisely because it was previously internal to <i>tclVar.c</i> while <code>namespace upvar</code> is implemented in <i>tclNamesp.c</i> and <i>tclExecute.c</i>. Exposing (as the imaginatively named <code>TCL_AVOID_RESOLVERS</code> in <i>tclInt.h</i>) seems reasonable, and doesn't break any existing tests (while fixing this).
    <p>
    My main worry now is that this will cause problems with Itcl. Need to check before committing the fix back to a main branch…
    
  2. login: "dkf"
  3. mimetype: "text/html"
  4. username: "dkf"