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 upArray.Append mutates first argument when result is small #802
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
process-bot
Jan 5, 2017
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
Jan 5, 2017
|
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.
Show comment
Hide comment
jvoigtlaender
Jan 5, 2017
Contributor
Duplicate, covered in https://github.com/elm-lang/core/issues/649, isn't it?
|
Duplicate, covered in https://github.com/elm-lang/core/issues/649, isn't it? |
jvoigtlaender
closed this
Jan 5, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
zynque
commented
Jan 5, 2017
|
Apologies for the oversight. Thanks for closing! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zynque commentedJan 5, 2017
•
edited
Edited 1 time
-
zynque
edited Jan 5, 2017 (most recent)
Array.Append should not alter the two arrays passed to this function, however, when the resulting array is 32 elements or less, the array value passed as the first argument gets mutated.
Elm.Core version: 5.0.0
Browser/OS: Chrome 55.0.2883.87 m / Windows 10
Example of this behavior: