[K/N] Deprecate ArrayIndexOutOfBoundsException
As a part of efforts to stabilize Native stdlib.
This commit is contained in:
committed by
Space Team
parent
be87b6950c
commit
8e995e6c62
@@ -54,7 +54,7 @@ fun f() = 5
|
||||
assertEquals(20, varargGetter(2, 2, 3, 4))
|
||||
assertEquals(20, varargGetter(2, 2, 3, 4))
|
||||
if (Platform.osFamily != OsFamily.WASM) {
|
||||
assertFailsWith<ArrayIndexOutOfBoundsException> { varargGetter(3, 2, 3, 4) }
|
||||
assertFailsWith<IndexOutOfBoundsException> { varargGetter(3, 2, 3, 4) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user