lua-users home
lua-l archive

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


In lua5

st,a,b = pcall(object:func, parameter)

does not work

while

st,a,b = pcall(object.func, object, parameter) 

is required.

Is this a fault or by design?