Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ef2db6b1c284baff35335629534b68e5e916130f
Ticket: 9a2bc209faf87b2f156d1971447f59e294184f9e
Bytecode machinery to handle compile epoch bumps is not right.
User & Date: sebres on 2017-06-06 17:49:02
Changes

  1. icomment:
    IMHO rather the second example (your contrast example with "set u upvar; $u 1 $a[...") is wrong...
    
    Please note this "undefined behavior" is very-very old - both variants behave this way at least since tcl-8.5.
    
    But I assume that by tcl-8.4 the first variant ("upvar 1 $a[proc upvar ...") still  printed "WOW" (just because another order of the "compilation" process).
    
  2. login: "sebres"
  3. mimetype: "text/plain"