If I have a statement like:
somedata.foo(arg1,arg2)
now,what is the type of somedata? a table or a userdata?
according to the reference manual in
2.3 - Variables
"The syntax var.NAME is >>just<< syntactic sugar for var["NAME"]:
var ::= prefixexp '.' Name"
"Square brackets are used to index a table:
var ::= prefixexp '[' exp ']'
The first expression (prefixexp) >>should<< result in a >>table<< value;"
Now,according to the reference manual,the somedata is a table.
But really it is a userdata. Is there something Wrong?