Closed Renegatto closed 2 months ago
It does not really misexpect this: https://github.com/Unisay/purescript-lua/blob/bef2ba667f395705bf3102fa17e7e22af8f3b694/lib/Language/PureScript/Backend/Lua/Linker/Foreign.hs#L46
That probably means that the dependency (in this case Ref library) foreign code should be fixed.
The foreign code in the purescript-lua-ref
has been fixed, please update your package set and close this issue if the problem is gone, thanks!
On the one side it does expect that, on the other side it does not wrap their exports in the parentheses, violating it's own expectations.
Wrapping value in the parentheses would indeed work: