Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with JS backend syntax translation #136

Merged
merged 1 commit into from
May 9, 2024

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!

@hamishmack hamishmack merged commit 3881998 into ghcjs:master May 9, 2024
1 check failed
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