Closed ParadiseFallen closed 11 months ago
I ran the following in engine.test.js several times and did not find an issue:
it('paradisefallen', async () => {
const engine = await getEngine()
const fun = (num) => {
return num * 2
}
const fn = await engine.doString(`
return function (jsFunction)
return function ()
return function ()
print(jsFunction(1))
end
end
end
`)
fn(fun)()()
})
v.18.18.0 - Tested with latest build that has my fix to doString and with the previous release before that PR
@tims-bsquare it breaks on 1.15.0. will check on newer version
so sometimes pass functions just not don't works
error is