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

Handle infix operators #70

Open
andys8 opened this issue Sep 19, 2018 · 1 comment
Open

Handle infix operators #70

andys8 opened this issue Sep 19, 2018 · 1 comment

Comments

@andys8
Copy link

andys8 commented Sep 19, 2018

I'm trying elm-upgrade on a library that exposes infix operators. I liked how the output contains:

Here are some common upgrade steps that you will need to do manually:

I would appreciate if it would recognize the use of custom operators, which are not allowed anymore and the user to replace them by hand.

@andys8
Copy link
Author

andys8 commented Sep 19, 2018

I found out, that the recommendations are based on the package dependencies and static. I'm not sure if it makes sense to have the information to replace operators in here for everybody, even if not using operators. This could be confusing.

https://github.com/avh4/elm-upgrade/blob/master/src/packageTransformations.js

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

No branches or pull requests

1 participant