-
However, redundant parameters can be detected without annotation.
|
Beta Was this translation helpful? Give feedback.
Answered by
CppCXY
May 9, 2026
Replies: 1 comment
-
|
Because a large amount of existing Lua code lacks comments, if a parameter is missing during a function call, it may be assigned a default value inside the function by some means, while any extra input parameters are truly useless. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
drcxd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Because a large amount of existing Lua code lacks comments, if a parameter is missing during a function call, it may be assigned a default value inside the function by some means, while any extra input parameters are truly useless.