Overview
| Artifact ID: | 4c50d4e86fcb2103e30cf1527cf9bfb9a8e370d7730815c35c05e9ed237ab2f0 |
|---|---|
| Ticket: | 572889ffffffffffffffffffffffffffffffffff
upvar links do not fire array read trace |
| User & Date: | serhiy.storchaka on 2026-11-13 17:51:03 |
Changes
- icomment:
The workaround is the list of option variables in tcltest, which each get their own auto-configure read trace because a trace on the Option array did not fire through their upvar links. On Tcl 9.0 and later the trace on Option is enough, but tcltest still runs on Tcl 8.6 (and 8.5), where the workaround is still needed. Proposed change in branch [/timeline?r=tcltest-array-trace-upvar|tcltest-array-trace-upvar]: the per-variable traces are only set before Tcl 9.0.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"