|
From: SourceForge.net <no...@so...> - 2003-04-18 06:28:07
|
Feature Requests item #572889, was opened at 2002-06-23 17:43 Message generated for change (Comment added) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=360894&aid=572889&group_id=10894 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Don Porter (dgp) >Assigned to: Joe English (jenglish) Summary: upvar links do not fire array read trace Initial Comment: % set a(foo) 1 1 % trace variable a r {puts a ;#} % set a(foo) a 1 % upvar 0 a(foo) baz % set baz 1 I would like to see the trace fire when I read from baz. ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2003-04-18 02:28 Message: Logged In: YES user_id=80530 Joe, you were asking about this on the chat. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2002-06-24 13:09 Message: Logged In: YES user_id=80530 Thanks. If this is to change, it would be a FR/TIP. Don't feel strong enough about it to do that now, but I'll shift this over the FR tracker in case anyone else wants to pick it up. Note to self: read *all* relevant man pages before filing bugs... Workaround seems to be to set traces on both the source and target of the [upvar]. Works fine, then, if annoying. ---------------------------------------------------------------------- Comment By: miguel sofer (msofer) Date: 2002-06-24 12:56 Message: Logged In: YES user_id=148712 upvar.n dixit: "If otherVar refers to an element of an array, then variable traces set for the entire array will not be invoked when myVar is accessed (but traces on the particular element will still be invoked). In particular, if the array is env, then changes made to myVar will not be passed to subprocesses correctly." So, is this a bug or a FR? Does it need a TIP? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=360894&aid=572889&group_id=10894 |