Skip to content

Commit 5ff6bc4

Browse files
committed
Add NEWS.md [ci skip]
1 parent abd35fe commit 5ff6bc4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

NEWS.md

+7
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,13 @@ Compiler/Runtime improvements
224224
Deprecated or removed
225225
---------------------
226226

227+
* Linear indexing is now only supported when there is exactly one
228+
non-cartesian index provided. Allowing a trailing index at dimension `d` to
229+
linearly access the higher dimensions from array `A` (beyond `size(A, d)`)
230+
has been deprecated as a stricter constraint during bounds checking.
231+
Instead, `reshape` the array such that its dimensionality matches the
232+
number of indices ([#20079]).
233+
227234
* `isdefined(a::Array, i::Int)` has been deprecated in favor of `isassigned` ([#18346]).
228235

229236
* `is` has been deprecated in favor of `===` (which used to be an alias for `is`) ([#17758]).

0 commit comments

Comments
 (0)