Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 91c0e89b2c7497bb9f7f2a87c2d1ce860d3c02966bbecd90a9da1d13fca62c3f
Ticket: a8579d906a28127d541ba23f7c1223259f97b123
'argument with no name' calling proc with args built in different frame
User & Date: pooryorick on 2021-10-08 19:51:39
Changes

  1. icomment:
    A more concise script to reproduce the issue is:
    
    <code><verbatim>
    proc p1 [list [list [expr {1 + 2}] default]] {}
    </verbatim></code>
    
    The issue is that to determine the length of the string,
    <code>TclCreateProc()</code> was only checking the size of any existing string
    repesentation of a value without taking into the consideration that the string
    representation might not be current.
    
    Fixed in [75a9777184741e05]
    
  2. login: "pooryorick"
  3. mimetype: "text/x-fossil-wiki"
  4. resolution changed to: "Fixed"