lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> [...]
> If that can really crash Lua, the check should probably be always
> on, as this seems a quite common error for one to make. Maybe the
> function could always raise a normal error when popping an active
> to-be-closed variable?

As this seems a quite common error for one to make, instead of raising a
normal error when popping an active to-be-closed variable maybe lua_pop
could just close those variables, after all. (As it was before :-)

-- Roberto