Skip to content

Commit

Permalink
add deprecation definition for FloatingPoint, NEWS entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Jul 30, 2015
1 parent 99fa597 commit 2e7dbd4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ Language changes

* `String` is renamed to `AbstractString` ([#8872]).

* `FloatingPoint` is renamed to `AbstractFloat` ([#12162]).

* `None` is deprecated; use `Union{}` instead ([#8423]).

* `Nothing` (the type of `nothing`) is renamed to `Void` ([#8423]).
Expand Down Expand Up @@ -1542,3 +1544,4 @@ Too numerous to mention.
[#12034]: https://github.com/JuliaLang/julia/issues/12034
[#12087]: https://github.com/JuliaLang/julia/issues/12087
[#12137]: https://github.com/JuliaLang/julia/issues/12137
[#12162]: https://github.com/JuliaLang/julia/issues/12162
3 changes: 3 additions & 0 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -763,3 +763,6 @@ function nonboolean_all(itr)
end

@deprecate iseltype(x,T) eltype(x) <: T

const FloatingPoint = AbstractFloat
export FloatingPoint

0 comments on commit 2e7dbd4

Please sign in to comment.