[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Inconsistency in function calls without parens
- From: David Sicilia <dpsicilia@...>
- Date: Thu, 25 May 2023 08:46:02 -0400
Why does Lua allow some but not all of these?
function foo(…) end
foo ‘hello’ — ok
foo {} — ok
foo 5 — not ok
foo nil — not ok
Would be nice if we could allow all of them.
David