[Omake] odd bug?
Aleksey Nogin
nogin at metaprl.org
Thu Jan 11 11:02:41 PST 2007
On 11.01.2007 10:31, Erick Tryzelaar wrote:
> Not sure why the "z" definition isn't finding x. You guys know?
>
> % Foo. =
> Foo> Foo. =
> Foo> x = 1
> Foo> y = 2
> Foo> z = $`(this.x) hello $`(this.y)
> Foo> .
> .
[...]
> % echo $(Foo.z)
> *** omake error:
> File -: line 9, characters 4-14
> unbound variable: x
>
Once you left the scope of Foo, "this" is no longer bound. If you would
have used Foo.x instead of this.x, the result should have been different.
Aleksey
More information about the Omake
mailing list