Say I have the following code:
local t = {};
setmetatable(t, {__call=print});
t(3, 5, 7)
Instead of printing:
3 5 7
it prints:
table: 0x9357020 3 5 7
The id of the table is that of t
.
How can I make it behave as though I called print
directly?