Overview
| Artifact ID: | 941152f68ffc84dfd4b82430ee7dec1a12719239 |
|---|---|
| Ticket: | 1493a4304444fcfbe6ed72638f404431e03a39d7
namespace upvar / TclOO problem |
| User & Date: | dkf on 2016-07-09 13:24:57 |
Changes
- icomment:
I've been thinking about this a bit more. When someone uses <code>namespace upvar</code>, they really do mean that they want the variable in that namespace, not to perform a name lookup according to that namespace's rules or the current namespace's rules either. As such, preventing the use of resolvers is exactly the right approach <i>even in [incr Tcl] classes</i>. If they wanted resolution, they wouldn't use <code>namespace upvar</code> (which isn't really itcl style anyway).
- login: "dkf"
- mimetype: "text/html"
- username: "dkf"