Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mbauman committed Oct 20, 2017
1 parent c939666 commit ed09c75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,7 @@ end
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!)
else
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!)
end
@nexprs $N d->(I_d = I[d])
idxlens = @ncall $N index_lengths I
@ncall $N setindex_shape_check X (d->idxlens[d])
Expand All @@ -1712,8 +1713,6 @@ end
A
end
end
@deprecate setindex!(B::BitArray, X::StridedArray, I::Union{Colon,UnitRange{Int}}) B[I] .= X
@deprecate setindex!(B::BitArray, X::StridedArray, I0::Union{Colon,AbstractUnitRange}, I::Union{Int,Colon,AbstractUnitRange}...) B[I0, I...] .= X

# issue #22791
@deprecate select partialsort
Expand Down

0 comments on commit ed09c75

Please sign in to comment.