Overview
| Artifact ID: | a3551d4c7d009ace7dfc030a12634900486df483 |
|---|---|
| Ticket: | 631741ffffffffffffffffffffffffffffffffff
[variable] should not call var resolvers |
| User & Date: | cdarroch on 2003-02-25 10:40:52 |
Changes
- icomment:
Logged In: YES user_id=637999 Yes, that's it in a nutshell, Miguel. I've been away from this problem for a long time, so I hope I'm not leading you astray. If memory serves, Itcl allowed one to use "variable" in a class method (sort of like a namespace proc) to refer to a "common" var (like a namespace var). But you could also just leave out the "variable" and the common class var was automatically resolved within the method's (proc's) scope. (I think.) It seemed to me when I was deep into the problem that while cool, this wasn't maybe something Tcl really had to support, and hence my proposed "fix" for the Itcl test suite is simply to say that that old behaviour is now reversed; "variable" doesn't find the common var. But I don't know how many people rely on this, or use/maintain Itcl these days, etc., and would have problems with such a "fix".
- login: "cdarroch"
- mimetype: "text/plain"
- title changed to: ""variable" can't not call var resolvers"
- username: "cdarroch"