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 upRuntime Exception with List.append. TypeError: undefined is not an object (evaluating 'xs.ctor') #728
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
process-bot
Oct 2, 2016
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
process-bot
commented
Oct 2, 2016
|
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it! Here is what to expect next, and if anyone wants to comment, keep these things in mind. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Oct 2, 2016
Contributor
This issue has been reported many times. In the next release of Elm, this kind of recursive value definition will be rejected by the compiler.
|
This issue has been reported many times. In the next release of Elm, this kind of recursive value definition will be rejected by the compiler. |
jvoigtlaender
closed this
Oct 2, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Oct 3, 2016
Member
The issue is elm/compiler#873 and will be detected in 0.18 of Elm.
@jvoigtlaender, I know this issue is annoying, but try not to take it out on people who are just trying to be helpful!
|
The issue is elm/compiler#873 and will be detected in 0.18 of Elm. @jvoigtlaender, I know this issue is annoying, but try not to take it out on people who are just trying to be helpful! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Oct 3, 2016
Contributor
@evancz, I'm sorry, I honestly don't know what you mean. In what way was I taking something out on somebody? I was just giving the best answer I could. Except for not providing the link to the specific issue in the other repo. And that was simply because I was on mobile, where it's more complicated (for me) to insert links. Oh well, I could have not answered at that time and leave it for later. Other than that, I'm afraid you are seeing ghosts (in seeing unfriendliness in my answering).
|
@evancz, I'm sorry, I honestly don't know what you mean. In what way was I taking something out on somebody? I was just giving the best answer I could. Except for not providing the link to the specific issue in the other repo. And that was simply because I was on mobile, where it's more complicated (for me) to insert links. Oh well, I could have not answered at that time and leave it for later. Other than that, I'm afraid you are seeing ghosts (in seeing unfriendliness in my answering). |
That-David-Guy commentedOct 2, 2016
•
edited
Edited 1 time
-
That-David-Guy
edited Oct 2, 2016 (most recent)
Version: Elm v0.17
This elm code:
Cause the following runtime exception (i.e. in my Chrome console window, not the elm compile error message)
It seems like the bug is because I shouldn't be using 'b' twice like that. Normally I wouldn't log an issue like this (because it was my fault). But since one of Elms selling points is No Runtime Exceptions, I thought you might want to know.
Cheers