From 40635c0f831cb6d8f9c5a17a446c2e2634ada7fb Mon Sep 17 00:00:00 2001 From: LoganDark Date: Mon, 8 Nov 2021 10:21:12 -0800 Subject: [PATCH] Fix lbuiltins.cpp comment --- VM/src/lbuiltins.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VM/src/lbuiltins.cpp b/VM/src/lbuiltins.cpp index e1c99b21..278269f8 100644 --- a/VM/src/lbuiltins.cpp +++ b/VM/src/lbuiltins.cpp @@ -20,7 +20,8 @@ // If types of the arguments mismatch, luauF_* needs to return -1 and the execution will fall back to the usual call path // If luauF_* succeeds, it needs to return *all* requested arguments, filling results with nil as appropriate. // On input, nparams refers to the actual number of arguments (0+), whereas nresults contains LUA_MULTRET for arbitrary returns or 0+ for a -// fixed-length return Because of this, and the fact that "extra" returned values will be ignored, implementations below typically check that nresults +// fixed-length return +// Because of this, and the fact that "extra" returned values will be ignored, implementations below typically check that nresults // is <= expected number, which covers the LUA_MULTRET case. static int luauF_assert(lua_State* L, StkId res, TValue* arg0, int nresults, StkId args, int nparams)