info exists causes read trace
Closed / Fixed217970ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:46:57
OriginalBugID: 5057 Bug
Version: 8.3
SubmitDate: '2000-04-13'
LastModified: '2000-04-27'
Severity: LOW
Status: Closed
Submitter: techsupp
ChangedBy: ericm
RelatedBugIDs: 5283
OS: All
FixedDate: '2000-10-25'
ClosedDate: '2000-04-27'
Name:
Boris Gontar
ReproducibleScript:
proc echo { args } { puts $args }
set x 1
trace var x r echo
info exists x
-- prints x {} r ---
ObservedBehavior:
proc echo should not have been called
DesiredBehavior:
"info exists" is a name query, not expected to read the value.
welch Closed ticket [217970ffff].
[History diff]2000-10-26 08:10:57
dgp Ticket [217970ffff]: 3 changes
[History diff]2001-04-14 03:12:56
Log in (anonymous is fine) to add a comment.