Comment

Comment by Moomoomoo309

Oh, Lua's type checker doesn't check function calls at all. Pass too few arguments? The rest are nil. Pass too many? The extras are dropped. An editor could check for it relatively easily (and some do, I think), but the language doesn't care at all.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton