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 upFix runtime error creating arrays of negative length #258
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
This will fix #175. |
pushed a commit
that referenced
this pull request
Jun 26, 2015
evancz
merged commit a0d807e
into
elm:master
Jun 26, 2015
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
mgold
deleted the
mgold:array-negative-length
branch
Jun 26, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mgold commentedJun 3, 2015
This one-character change (plus test) fixes a runtime error when creating arrays of negative length with
Array.initializeorArray.repeat. This behavior is now consistent withList.repeat.