lua-users home
lua-l archive

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

On Jan 15, 2008, at 5:45 PM, Nicolai Mainiero wrote:

Looking at these four rules above the Language allowes functioncalls like:




Which are obviously senseless and when I try to execute them the interpreter gives me the following error message:

While peculiar, it's valid:

debug.setmetatable( nil, { __index = { Text = function( self, aValue ) return aValue end } } )

print( ( nil ):Text( 'hello' ) )