summaryrefslogtreecommitdiff
path: root/script/utility.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/utility.lua')
-rw-r--r--script/utility.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/utility.lua b/script/utility.lua
index b5eb4095..85c98cb1 100644
--- a/script/utility.lua
+++ b/script/utility.lua
@@ -691,6 +691,7 @@ function m.switch()
return obj
end
+---@param f async fun()
function m.getUpvalue(f, name)
for i = 1, 999 do
local uname, value = getupvalue(f, i)