Overview
| Artifact ID: | 7b153192cef698c1dae49ba5d430a5cd88fb2f3a |
|---|---|
| Ticket: | 1247135fffffffffffffffffffffffffffffffff
info globals works wrong inside proc |
| User & Date: | nobody on 2005-07-28 21:48:56 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
Name: Lawrence D'Oliveiro Contact e-mail: [email protected] Systems tried: SuSE Linux 9.3 x86-64, tcl 8.4.9-7 vs SuSE 9.1 x86 (32-bit), tcl 8.4.6-26 On the system running 8.4.9, "info globals" is returning a nonempty result for an undefined global, when it should be returning an empty result. Furthermore, it only does this inside a proc. For example, try this command sequence from the tclsh command prompt: proc Try {} {global Glob; info globals Glob} Try Assuming that there is no global variable named "Glob", this returns an empty result on 8.4.6, but it returns "Glob" on 8.4.9. If you try the same commands as the procedure body, entered directly: global Glob info globals Glob This sequence returns an empty result on both 8.4.6 and 8.4.9.
- foundin changed to: "obsolete: 8.4.9"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "17. Commands I-L"
- title changed to: "info globals works wrong inside proc"
- type changed to: "Bug"