mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-11-14 03:14:14 +03:00
15590d7107
`i$ffiWrap` was basically apply the first argument over and over instead of for looping through each argument. ie. ```JavaScript foreach(arg in arguments) { while(function is not fully applied) { func.apply(arg); } } ``` This has made it impossible to use native JavaScript higher-order functions through the FFI. `make test_js` passes, but I'm not familiar with the js codegen/rts, so someone should check and make sure this is correct. |
||
---|---|---|
.. | ||
jsbn | ||
Runtime-browser.js | ||
Runtime-common.js | ||
Runtime-node.js |