Skip to content

Commit b315664

Browse files
committed
Add NEWS.md [ci skip]
1 parent f09d299 commit b315664

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
@@ -214,6 +214,13 @@ Compiler/Runtime improvements
214214
Deprecated or removed
215215
---------------------
216216

217+
* Linear indexing is now only supported when there is exactly one
218+
non-cartesian index provided. Allowing a trailing index at dimension `d` to
219+
linearly access the higher dimensions from array `A` (beyond `size(A, d)`)
220+
has been deprecated as a stricter constraint during bounds checking.
221+
Instead, `reshape` the array such that its dimensionality matches the
222+
number of indices ([#20079]).
223+
217224
* `isdefined(a::Array, i::Int)` has been deprecated in favor of `isassigned` ([#18346]).
218225

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

0 commit comments

Comments
 (0)