summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script-beta/vm/getValue.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script-beta/vm/getValue.lua b/script-beta/vm/getValue.lua
index a1f42da1..75737123 100644
--- a/script-beta/vm/getValue.lua
+++ b/script-beta/vm/getValue.lua
@@ -542,7 +542,7 @@ local function checkLibraryReturn(source)
if not rtn.type then
return nil
end
- if rtn.type == '...' then
+ if rtn.type == '...' or rtn.type == 'any' then
return
end
return alloc {
@@ -583,7 +583,7 @@ local function checkLibraryArg(source)
if not arg.type then
return
end
- if arg.type == '...' then
+ if arg.type == '...' or arg.type == 'any' then
return
end
return alloc {