lua-users home
lua-l archive

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


Mark Hamburg wrote:
> The one problem I've found with colons is that using a period when
> you should have used a colon (or vice-versa) will tend to generate
> rather obscure errors. It would be nice if there were an easy way to
> test for this mistake at least when running development versions.   

I think it is, at least in C. IIRC luaL_argerror displays a different
argument numbering whether you use the dot or the colon notation.