mirror of
https://github.com/lua/lua.git
synced 2026-06-08 08:03:49 +00:00
Functions with vararg tables don't need hidden args.
Vararg functions with vararg tables don't use the arguments hidden in the stack; therfore, it doesn't need to build/keep them.
This commit is contained in:
@@ -2425,7 +2425,7 @@ The conditions are as follows:
|
||||
If the vararg table has a name,
|
||||
that name is not an upvalue in a nested function
|
||||
and it is used only as the base table
|
||||
in the syntactic constructions @T{t[exp]} or @T{t.id}).
|
||||
in the syntactic constructions @T{t[exp]} or @T{t.id}.
|
||||
Note that an anonymous vararg table always satisfy these conditions.
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user