diff --git a/README.md b/README.md index a2186661e..6987f2e1b 100644 --- a/README.md +++ b/README.md @@ -134,8 +134,6 @@ Currently, the `@compat` macro supports the following syntaxes: for entries with no match and gives the index of the first (rather than the last) match ([#25662], [#25998]). -* `object_id` is now `objectid` ([#25615]). - * `LinSpace` is now `LinRange` ([#25896]). * `isupper`, `islower`, `ucfirst` and `lcfirst` are now `isuppercase`, `islowercase`, diff --git a/src/Compat.jl b/src/Compat.jl index c3a631a7d..bb7ff2a15 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -75,12 +75,6 @@ end end end -# 0.7.0-DEV.3455 -@static if !isdefined(Base, :objectid) - const objectid = object_id - export objectid -end - @static if VERSION < v"0.7.0-DEV.3272" zero2nothing(x::Integer) = x == 0 ? nothing : x zero2nothing(x::AbstractUnitRange{<:Integer}) = x == 0:-1 ? nothing : x diff --git a/test/old.jl b/test/old.jl index 0402e5ee6..d5184a6bc 100644 --- a/test/old.jl +++ b/test/old.jl @@ -730,3 +730,6 @@ end # 0.7.0-DEV.3455 @test hasmethod(sin, Tuple{Float64}) +let x = y = 1 + @test objectid(x) == objectid(y) +end diff --git a/test/runtests.jl b/test/runtests.jl index aa61dac7d..d85bd8328 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -82,11 +82,6 @@ end @test codeunit("foo") == codeunit(SubString("fooαβγ",1,3)) == UInt8 -# 0.7.0-DEV.3455 -let x = y = 1 - @test objectid(x) == objectid(y) -end - # 0.7.0-DEV.3415 for (f1, f2, i) in ((Compat.findfirst, Compat.findnext, 1), (Compat.findlast, Compat.findprev, 2))