Overview
| Artifact ID: | c4ae95523cf1f1f3d660299af748e618175ab125 |
|---|---|
| Ticket: | 3603695fffffffffffffffffffffffffffffffff
TclOO: varnames incorrect when used from other object method |
| User & Date: | dkf on 2013-02-08 21:00:58 |
Changes
- icomment:
The 'variable' declaration is critical to the problem, as the test case I'm working on (see below) succeeds without it and fails with it. Very strange! test oo-19.3 {OO: varname method and variable decl: Bug 3603695} -setup { oo::class create testClass { variable foo export varname constructor {} { variable foo x } method bar {obj} { my varname foo $obj varname foo } } } -body { testClass create A testClass create B lsearch [list [A varname foo] [B varname foo]] [B bar A] } -cleanup { testClass destroy } -result 0 - login: "dkf"
- mimetype: "text/plain"
- priority changed to: "8"
- username: "dkf"