Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ef31021d1885ecefeb01c0bc0231c5e66b35dc4e578af59d7751fb185d9c0bcc
Ticket: 2969488fffffffffffffffffffffffffffffffff
trace variable doesn't fire if you upvar to an array element
User & Date: sbron on 2022-08-25 08:13:20
Changes

  1. icomment:
    The fact that an [upvar] to an array element won't trigger a trace on the entire array is a documented feature (in the upvar manual page). So, in theory, people may use it on purpose to change an array without firing the trace. This means that this is a breaking change. Those can only go into 9.0.
    
  2. login: "sbron"
  3. mimetype: "text/x-fossil-wiki"