Currently a table assignment errors (as you said) when it would make sense to me to allow either and just recall pairs/ipairs on the table if it's not a function.