aboutsummaryrefslogtreecommitdiff
path: root/manual/manual.of
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2025-11-28 15:12:51 -0300
committerRoberto I <roberto@inf.puc-rio.br>2025-11-28 15:12:51 -0300
commita07f6a824197d7dc01c321599d3bc71936a2590e (patch)
treea3c4c0aff91e4175c31806727190803f250bf3e6 /manual/manual.of
parentf33cc4ddec886ea499d7d41dd60cac5ddc5687db (diff)
downloadlua-a07f6a824197d7dc01c321599d3bc71936a2590e.tar.gz
lua-a07f6a824197d7dc01c321599d3bc71936a2590e.tar.bz2
lua-a07f6a824197d7dc01c321599d3bc71936a2590e.zip
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.
Diffstat (limited to 'manual/manual.of')
-rw-r--r--manual/manual.of2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 9b8e144d..54f67b3e 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -2425,7 +2425,7 @@ The conditions are as follows:
2425If the vararg table has a name, 2425If the vararg table has a name,
2426that name is not an upvalue in a nested function 2426that name is not an upvalue in a nested function
2427and it is used only as the base table 2427and it is used only as the base table
2428in the syntactic constructions @T{t[exp]} or @T{t.id}). 2428in the syntactic constructions @T{t[exp]} or @T{t.id}.
2429Note that an anonymous vararg table always satisfy these conditions. 2429Note that an anonymous vararg table always satisfy these conditions.
2430 2430
2431} 2431}