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 syntax for ghc js backend #109

Merged
merged 3 commits into from
May 22, 2024
Merged

Fix syntax for ghc js backend #109

merged 3 commits into from
May 22, 2024

Conversation

sgrb
Copy link
Contributor

@sgrb sgrb commented May 14, 2024

Perhaps it is not the only location where syntax needs to be updated, but at least this change fixes js errors in my simple reflex application compiled with ghc-9.8's js backend.

@hsyl20
Copy link
Contributor

hsyl20 commented May 14, 2024

It would be nice to fix at least the two FFI imports just above (gTypeToString and js_eq)

Copy link
Contributor

@hsyl20 hsyl20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM

@hamishmack hamishmack merged commit baf6c2a into ghcjs:master May 22, 2024
hamishmack added a commit that referenced this pull request May 22, 2024
PR #109 included #ifdef __GHCJS__ for the old GHCJS.

ghcjs-dom-javascript is for the new GHC JS backend only (ghcjs-dom-jsffi is for the old GHCJS).

This change also fixes js_objectToString
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.

None yet

3 participants