Skip to content

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Dec 6, 2022

Turned up in #2575, where if --uncheckedBehavior always is given, an array[index] = ..., when setting an index >= length, does not ensure that the array has enough capacity. Code might however expect that this basic contract holds regardless. Hence this PR removes unchecked indexed set on normal arrays. Does not change fixed sized arrays, where there is no such side-effect to retain.

  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

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