Skip to content

Conversation

@MatthewFluet
Copy link

The intention of 8d5681c was to double the buffer size when ensureCapacity must grow the buffer, but mistakenly doubled the buffer size every time ensureCapacity was called, leading to an uncaught Overflow exception after sufficient operations that call ensureCapacity before adding content to the buffer.

See MLton/mlton#608.

The intention of 8d5681c was to double the buffer size when
`ensureCapacity` must grow the buffer, but mistakenly doubled the
buffer size every time `ensureCapacity` was called, leading to an
uncaught `Overflow` exception after sufficient operations that call
`ensureCapacity` before adding content to the buffer.

See MLton/mlton#608.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant