Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cb7dbe76da376097678de08e434775ddabda4b8641a71cd7d0018e716b8771ab
Ticket: 9eac2d8a8d6da83d4554afd55865a54691c4c58d
uplevel: level sniffing for single arg, default-level case (absolute level specifier only)
User & Date: dgp on 2019-05-08 18:50:07
Changes

  1. icomment:
    
    The documentation for [uplevel]:
    
        https://www.tcl-lang.org/man/tcl8.7/TclCmd/uplevel.htm
    
    clearly states " Level cannot be defaulted if the first command argument starts with a digit or #. "
    
    So this is not a bug, but it is a report of absolutely boneheaded behavior.
    
    We should TIP the fix, using the fact that we already did this for
    [upvar] as justification.
    
  2. login: "dgp"
  3. mimetype: "text/plain"