Open
Description
Simple example:
local do_thing = a.sync(function (val)
local o = 10
return o + val
end)
print(do_thing(5))
This should print 15
, but instead it results in an error at line 3: attempt to perform arithmetic on a nil value (local 'val')
.
It seems like the library didn't pass the value 5
to the function.
Metadata
Metadata
Assignees
Labels
No labels