Skip to content

Commit

Permalink
Add NEWS.md entry for dep of unintended zeros/ones methods (#21183). (#…
Browse files Browse the repository at this point in the history
…21844)

(cherry picked from commit f6bd5fe)
  • Loading branch information
Sacha0 authored and tkelman committed May 14, 2017
1 parent 6ffccfa commit c7e4da6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,11 @@ Deprecated or removed
* The two-argument forms of `map` (`map!(f, A)`) and `asyncmap!` (`asyncmap!(f, A)`)
have been deprecated in anticipation of future semantic changes ([#19721]).

* `zeros` and `ones` methods accepting an element type as the first argument and an
array as the second argument, for example `zeros(Float64, [1, 2, 3])`, have been
deprecated in favor of equivalent methods with the second argument instead the
size of the array, for example `zeros(Float64, size([1, 2, 3]))` ([#21183]).

* `isimag` has been deprecated ([#19949]).

* The tuple-of-types form of `invoke`, `invoke(f, (types...), ...)`, has been deprecated
Expand Down Expand Up @@ -593,3 +598,4 @@ Command-line option changes
[#20543]: https://github.com/JuliaLang/julia/issues/20543
[#20609]: https://github.com/JuliaLang/julia/issues/20609
[#20889]: https://github.com/JuliaLang/julia/issues/20889
[#21183]: https://github.com/JuliaLang/julia/issues/21183

0 comments on commit c7e4da6

Please sign in to comment.