summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script-beta/vm/eachField.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script-beta/vm/eachField.lua b/script-beta/vm/eachField.lua
index f919c2e0..38087d6a 100644
--- a/script-beta/vm/eachField.lua
+++ b/script-beta/vm/eachField.lua
@@ -24,13 +24,13 @@ end
local function eachField(source, deep)
local unlock = vm.lock('eachField', source)
if not unlock then
- return
+ return {}
end
while source.type == 'paren' do
source = source.exp
if not source then
- return
+ return {}
end
end