lua-users home
lua-l archive

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

When I read the Lua5.4(work2) source code, change of `isvalid`( confused me.

In my opinion, `ttisnil(&G(L)->nilvalue)` is always true, `(!ttisnil(o) || o != &G(L)->nilvalue)` can be simplied to `(o != &(G)->nilvalue)`.

Of course  Roberto is always right. But I can't find my mistake.

It confused me for sereval days.