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

Possible dead code in Native.Graphics.Element #540

Closed
rgrempel opened this Issue Mar 27, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@rgrempel
Contributor

rgrempel commented Mar 27, 2016

There appears to be a little bit of dead code here, in version 3.0.0.

https://github.com/elm-lang/core/blob/3.0.0/src/Native/Graphics/Element.js#L504-L508

At least, I don't think it is doing anything -- it's always possible that I'm missing something.

Note that it does not cause any tangible problems, as far as I can tell. So, it would not be a high priority to fix -- just thought I'd record it in case it was useful at an appropriate moment.

@halfzebra

This comment has been minimized.

Show comment
Hide comment
@halfzebra

halfzebra Mar 30, 2016

Contributor

Created a pilot PR for this issue #544

Contributor

halfzebra commented Mar 30, 2016

Created a pilot PR for this issue #544

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz May 11, 2016

Member

Sorry for the slow reply. It has been busy times. All the Graphics.* modules have moved to evancz/elm-graphics so it makes sense to retarget stuff like this.

I was not immediately confident that it was doing nothing. I'd want stronger assurances before making this change. Whoo JavaScript! ;)

Member

evancz commented May 11, 2016

Sorry for the slow reply. It has been busy times. All the Graphics.* modules have moved to evancz/elm-graphics so it makes sense to retarget stuff like this.

I was not immediately confident that it was doing nothing. I'd want stronger assurances before making this change. Whoo JavaScript! ;)

@evancz evancz closed this May 11, 2016

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