Overview
| Artifact ID: | d851e105d93cacdbd8b01fa22a8f988ea3f1e750 |
|---|---|
| Ticket: | 218189ffffffffffffffffffffffffffffffffff
Proper error reporting of $:var |
| User & Date: | nobody on 2000-10-26 00:54:18 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2358 Bug Version: 8.1.1 SubmitDate: '1999-07-16' LastModified: '1999-09-15' Severity: MED Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Other Machine: NA FixedDate: '2000-10-25' ClosedDate: '1999-09-15' Name: Jeffrey Hobbs ReproducibleScript: (ssi) 68 % puts $:input $:input (ssi) 69 % puts $input can't read "input": no such variable (ssi) 70 % puts $::input can't read "::input": no such variable ObservedBehavior: With Tcl7.6, a var like $: $/ $^ (does this look like Perl or what?) was just ignored (not interp'd, just returned as is). With namespaces in Tcl8, the interp of :: in vars changed. However, when I write the above "bug", it doesn't consider it as a possible in 8.0 semantics, but rather just ignores it and returns the string. DesiredBehavior: With 8.0+, I would expect the above to have returned an error. It is a change from Tcl7, but so is the general treatment of ':' in a var. Otherwise, it can lead to some tricky error (since it doesn't actually complain). This isn't necessary, just code better. -- 09/15/1999 hobbs - foundin changed to: "final: 8.1.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Proper error reporting of $:var"
- type changed to: "RFE"