diff --git a/README.md b/README.md index a0d674f4a..f3fa857dd 100644 --- a/README.md +++ b/README.md @@ -76,8 +76,6 @@ Currently, the `@compat` macro supports the following syntaxes: * Single-argument `permutedims(x)` for matrices and vectors ([#24839]). -* `isbits(t::Type)` is now `isbitstype(t)` ([#26850]). - * `something` to get the first argument different from `nothing`, unwrapping those of the `Some` type ([#27258]). diff --git a/src/Compat.jl b/src/Compat.jl index 10dbaff0d..4db7e5b1a 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -78,12 +78,6 @@ end end end -# https://github.com/JuliaLang/julia/pull/26850 -if !isdefined(Base, :isbitstype) # 0.7.0-DEV.4905 - export isbitstype - isbitstype(::Type{T}) where {T} = isbits(T) -end - # 0.7.0-DEV.4762 @static if !isdefined(Base, Symbol("@cfunction")) macro cfunction(f, rt, tup) diff --git a/test/old.jl b/test/old.jl index 3278f69ad..42a0667f2 100644 --- a/test/old.jl +++ b/test/old.jl @@ -1083,3 +1083,7 @@ end @test isletter('a') @test isletter('β') @test !isletter('3') + +# 0.7.0-DEV.4905 +@test isbitstype(Int) +@test !isbitstype(Vector{Int}) diff --git a/test/runtests.jl b/test/runtests.jl index 3cea59941..1f4f7dc67 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -82,10 +82,6 @@ end @test codeunit("foo") == codeunit(SubString("fooαβγ",1,3)) == UInt8 -# 0.7.0-DEV.4905 -@test isbitstype(Int) -@test !isbitstype(Vector{Int}) - # 0.7.0-DEV.4762 let ptr = @cfunction(+, Int, (Int, Int)) @test ptr isa Ptr{Cvoid}