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

Drop listProps #41

Merged
merged 1 commit into from
Apr 8, 2017
Merged

Drop listProps #41

merged 1 commit into from
Apr 8, 2017

Conversation

imalsogreg
Copy link

listProps is defined in shims, and again in "ghcjs-base" Javascript.Object.Internal.

This PR deletes the one in shims. Was it used anywhere?

Related issues:
ghcjs/ghcjs#556
ghcjs/ghcjs#572
ghcjs/ghcjs-base#70

@luigy
Copy link

luigy commented Apr 6, 2017

I can confirm this is indeed a leftover from either the 7.10 or 8 upgrade and we've done something similar and haven't run into any issues.

@luite
Copy link
Member

luite commented Apr 8, 2017

Thanks for the PR. I moved it to ghcjs-base indeed, with the intention to eventually remove all code like this from shims (perhaps keeping only some core parts of the RTS separate from the packages. the shims repository can be folded into ghcjs then.)

@luite luite merged commit 36ba319 into ghcjs:ghc-8.0 Apr 8, 2017
@luite
Copy link
Member

luite commented Apr 8, 2017

I forgot to remove it (I believe I wanted to check if it wasn't needed anymore), and used the same name for the replacement, which works slightly differently: constructing the list directly in JS, through the rts.h macros. This caused the compatibility issues. Sorry about that.

@fisx
Copy link

fisx commented Apr 10, 2017

thanks @luite for merging this! can the issues be closed, then?

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.

4 participants