Skip to content

Commit 9df3029

Browse files
committed
WIP
1 parent 3cbb9fc commit 9df3029

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

base/deprecated.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,6 +1676,7 @@ end
16761676
depwarn("using nonscalar indexed assignment to implicitly broadcast the values of an array to many indices is deprecated. Use `A[I...] .= values` to explicitly opt-in to broadcasting.", :setindex!)
16771677
else
16781678
depwarn("using nonscalar indexed assignment to implicitly broadcast the values of an array to many indices is deprecated. Use `A[I...] .= reshape(values` to explicitly opt-in to broadcasting.", :setindex!)
1679+
end
16791680
@nexprs $N d->(I_d = I[d])
16801681
idxlens = @ncall $N index_lengths I
16811682
@ncall $N setindex_shape_check X (d->idxlens[d])
@@ -1687,8 +1688,6 @@ end
16871688
A
16881689
end
16891690
end
1690-
@deprecate setindex!(B::BitArray, X::StridedArray, I::Union{Colon,UnitRange{Int}}) B[I] .= X
1691-
@deprecate setindex!(B::BitArray, X::StridedArray, I0::Union{Colon,AbstractUnitRange}, I::Union{Int,Colon,AbstractUnitRange}...) B[I0, I...] .= X
16921691

16931692
# issue #22791
16941693
@deprecate select partialsort

0 commit comments

Comments
 (0)