Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDuplicate field definition #533
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
jvoigtlaender
Mar 22, 2016
Contributor
Please report this at https://github.com/elm-lang/elm-compiler instead of here (core is the standard library, not the compiler).
|
Please report this at https://github.com/elm-lang/elm-compiler instead of here ( |
jvoigtlaender
closed this
Mar 22, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
ordavidil
commented
Mar 22, 2016
|
Thanks, sorry about that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ordavidil commentedMar 22, 2016
Hey,
So I just started with Elm and it feels great for now, thanks.
It seems that the compiler allow me to define the same field twice, even with a different type, it just takes the latest definition but I would've expect it will raise an error.
Example: