|
From: Reinhard M. <ma...@tc...> - 2010-03-23 11:05:11
|
Hi,
On Fri, 19 Mar 2010 at 09:08, Arnulf Wiedemann wrote:
> I have integrated your patches and fixed the "info complete"
> problem.
I can confirm that these are fixed in the latest tarball, but [info]
is still not working as expected in the latest tarball.
Object variables are no longer visible as local variables to [info
exists] inside a method of an inherited class:
--- snip ---
package require Itcl
itcl::class Base {}
itcl::class foo {
inherit Base
variable x 1
public method bar {} {
puts $x:[info exists x]:[info exists [itcl::scope x]]
}
}
foo myfoo
myfoo bar
--- snap ---
This script outputs 1:0:1 when run as is and 1:1:1 with the inherit
command removed. Itcl 3.4 returns 1:1:1 in both cases.
cu
Reinhard
|