Skip to content

Fix issues with JS backend syntax translation#136

Merged
hamishmack merged 1 commit intoghcjs:masterfrom
sambnt:master
May 9, 2024
Merged

Fix issues with JS backend syntax translation#136
hamishmack merged 1 commit intoghcjs:masterfrom
sambnt:master

Conversation

@sevanspowell
Copy link
Contributor

@sevanspowell sevanspowell commented May 3, 2024

  • Fixed some issues with the JS backend syntax translation introduced by Support GHC JS backend #135.
    • Just simple text replace issues I suspect.

I needed to make these changes to get the miso examples which depend on ghcjs-base (xhr, file-reader, canvas2d) working. There may be more issues introduced by #135, but I don't have test cases for those atm.

I will do a more thorough review if you feel I'm on the right track. This is my first time modifying JS FFI code.

I also needed to make some changes to miso itself, which I will be submitting PRS for soon.

Thanks for your work on the Javascript backend! ❤️

- Fixed some issues with the JS backend syntax translation introduced by
  ghcjs#135.
@sevanspowell
Copy link
Contributor Author

Changes to miso: dmjio/miso#740.

@hsyl20
Copy link
Contributor

hsyl20 commented May 6, 2024

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants