Skip to content

Commit 1c4862f

Browse files
committed
ArrayIndexOutOfBoundsException is configurable.
1 parent ac11356 commit 1c4862f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/semantics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ This is not the case in Scala.js 1.x anymore, where they are reliably thrown.
118118

119119
Some of these, however, can be configured to be compliant with the JVM
120120
specification using sbt settings.
121-
Currently, only `ClassCastException`s (thrown by invalid `asInstanceOf` calls)
121+
Currently, only `ClassCastException`s (thrown by invalid `asInstanceOf` calls) and `ArrayIndexOutOfBoundsException`s (thrown by array indexing)
122122
are configurable, but the list will probably expand in future versions.
123123

124124
Every configurable undefined behavior has 3 possible modes:

0 commit comments

Comments
 (0)