Skip to content

Commit

Permalink
Mark Compat.SparseArrays from #459 for deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholters committed Oct 4, 2019
1 parent 46761bc commit d9647f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ Currently, the `@compat` macro supports the following syntaxes:
* `using Compat.Unicode` is provided on versions older than 0.7, where this library is not
yet a part of the standard library. ([#25021])

* `using Compat.SparseArrays` is provided on versions older than 0.7, where this library is
not yet part of the standard library ([#25249]).

* `using Compat.Random` is provided on versions older than 0.7, where this library is
not yet part of the standard library ([#24874]).

Expand Down
8 changes: 1 addition & 7 deletions src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,11 @@ import Libdl
const AbstractDateTime = Compat.Dates.AbstractDateTime
import Printf
import LinearAlgebra
import SparseArrays


include("compatmacro.jl")

if VERSION < v"0.7.0-DEV.3389"
const SparseArrays = Base.SparseArrays
else
import SparseArrays
end


# v"0.7.0-beta.234" introduced Random.gentype (formerly Base.eltype)
# v"0.7.0-beta2.171" deprecated Random.srand in favor of Random.seed! (unexported)
# v"0.7.0-DEV.3406" moved Base.Random to stdlib Random
Expand Down

0 comments on commit d9647f9

Please sign in to comment.