[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: disabling global definitions within function blocks
- From: "xenarcher <nickl@...>" <nickl@...>
- Date: Wed, 08 Jan 2003 16:03:06 -0000
--- In email@example.com, "Thatcher Ulrich" <tu@t...> wrote:
> Are you sure? I'm seeing an error with the above code, as expected,
> using lua-5.0-beta.
> I actually get two errors; with the above code verbatim I get an
> on the definition of "foo". If I predefine a "foo" slot in g, then
> get the expected error on "x = 1".
Whoops, I meant to define function foo() before calling setglobals().
I'm using lua-5.0-alpha and I don't get the expected error when foo()
is called. Is this something that may have changed between the alpha
and beta versions?