summaryrefslogtreecommitdiff
path: root/script/vm/sign.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/sign.lua')
-rw-r--r--script/vm/sign.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/sign.lua b/script/vm/sign.lua
index 2d45a5a7..257166ce 100644
--- a/script/vm/sign.lua
+++ b/script/vm/sign.lua
@@ -114,7 +114,7 @@ function mt:resolve(uri, args)
local function buildArgNode(argNode, knownTypes)
local newArgNode = vm.createNode()
for n in argNode:eachObject() do
- if argNode:isOptional() and vm.isFalsy(n) then
+ if argNode:isFalsy() then
goto CONTINUE
end
local view = infer.viewObject(n)