Skip to content

Commit ac11356

Browse files
committed
Add ArrayStoreException to the list of undefined behaviors.
1 parent 998153e commit ac11356

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/semantics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ Currently known exhaustive list of exceptions are:
103103
* `NullPointerException`
104104
* `ArrayIndexOutOfBoundsException` and `StringIndexOutOfBoundsException`
105105
* `ClassCastException`
106+
* `ArrayStoreException`
106107
* `StackOverflowError` and other `VirtualMachineError`s
107108

108109
Because Scala.js does not receive VM support to detect such erroneous

0 commit comments

Comments
 (0)