Skip to content

Commit 2e7dbd4

Browse files
committedJul 30, 2015
add deprecation definition for FloatingPoint, NEWS entry.
1 parent 99fa597 commit 2e7dbd4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎NEWS.md

+3
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ Language changes
9292

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

95+
* `FloatingPoint` is renamed to `AbstractFloat` ([#12162]).
96+
9597
* `None` is deprecated; use `Union{}` instead ([#8423]).
9698

9799
* `Nothing` (the type of `nothing`) is renamed to `Void` ([#8423]).
@@ -1542,3 +1544,4 @@ Too numerous to mention.
15421544
[#12034]: https://github.com/JuliaLang/julia/issues/12034
15431545
[#12087]: https://github.com/JuliaLang/julia/issues/12087
15441546
[#12137]: https://github.com/JuliaLang/julia/issues/12137
1547+
[#12162]: https://github.com/JuliaLang/julia/issues/12162

‎base/deprecated.jl

+3
Original file line numberDiff line numberDiff line change
@@ -763,3 +763,6 @@ function nonboolean_all(itr)
763763
end
764764

765765
@deprecate iseltype(x,T) eltype(x) <: T
766+
767+
const FloatingPoint = AbstractFloat
768+
export FloatingPoint

0 commit comments

Comments
 (0)
Please sign in to comment.