Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: efffe3809443d391b5de6fe8f7e54d377074731b
Ticket: 3076419fffffffffffffffffffffffffffffffff
[info vars] implementation and man page do not agree
User & Date: msofer on 2010-09-27 09:11:51
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The man page states for [info vars]:
    "Note that a currently-visible variable may not yet “exist” if it has not been set (e.g. a variable declared but not set by variable)."
    
    However
    
    % unset -nocomplain x y
    % proc a {} {variable x; upvar y z; info vars}
    % a
    x z
    
    This behaviour is present at least in 8.4.19, 8.5.9 and 8.6 (did not check earlier Tcl versions). That is, it may well be a "documentation bug" by now.
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "msofer"
  10. subsystem changed to: "07. Variables"
  11. title changed to:
    [info vars] implementation and man page do not agree
    
  12. type changed to: "Bug"