koka-lang / koka

Koka language compiler and interpreter
http://koka-lang.org
Other
3.26k stars 162 forks source link

Fix JS backend #269

Closed pashutk closed 6 months ago

pashutk commented 2 years ago

There is probably a typo in _max_uint32 (and a couple of other) variable names as this module references _max_uint32n but doesn't declare _max_uint32. Also, the JS code isn't valid since declaring two consts with the same name isn't allowed in js.

Screenshot 2022-05-15 at 23 04 53
TimWhiting commented 6 months ago

I believe this has been resolved on the latest dev. Thanks for the contribution!