Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2000-10-26
08:32 • Closed ticket [218957ffff]: 'eval {set {x($foo)} 5}' raises error pl... artifact: 0fec07837e user: welch
01:08 • New ticket [218957ffff]. artifact: b2f1558225 user: nobody

'eval {set {x($foo)} 5}' raises error

Closed / Fixed218957ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:08:36
OriginalBugID: 3184 Bug
Version: 8.2.1
SubmitDate: '1999-10-25'
LastModified: '1999-10-25'
Severity: SER
Status: Released
Submitter: hobbs
ChangedBy: hobbs
OS: All
FixedDate: '1999-10-25'
FixedInVersion: 8.2.2
ClosedDate: '2000-10-25'


This is due to the TclCompileSetCmd.  Same problem with 'incr'.
It ignores the {}ing of the name and tries to parse the key name
text (bad).

There is a C level fix, but better varname parsing needs to be
added for these funcs.
welch Closed ticket [218957ffff]. [History diff]2000-10-26 08:32:15
Log in (anonymous is fine) to add a comment.