lua-users home
lua-l archive

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


Hello,

lua-5.1-work4 would throw an exception when trying to access a non-existing function in a table, for example:

thisClass = function()
        local this = {}

        this.bla()
end

Would throw the following exception:

lua: Test.lua:14: attempt to call field `bla' (a nil value)

However, in lua-5.1-work5, the above doesn't throw anything. At all. Total radio silence. It just seems to silently stop at the faulty line and ignore the rest of the chunk.

It that expected behavior? Would it be possible to have the previous behavior back?!? :))

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/