-
Notifications
You must be signed in to change notification settings - Fork 6
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
Clashing constructors #70
Comments
@aleator I think it should be possible to use a qualified name. However, I would rather rename |
Sorry for not coming back to this earlier. I have a question to understand the problem: what imports should be qualified? Do you mean imports of |
I believe that adding a qualified import of a module with data types and using all generated constructors in a qualified manner will help to resolve the issue with clashing constructors. For example, here elm-street/frontend/src/Core/Decoder.elm Line 54 in fe762ac
It could be |
If I have a Haskell type with constructor "Ok", the resulting decoder will fail to compile due to clashing with Result.Ok.
Could using qualified import help here?
The text was updated successfully, but these errors were encountered: