diff --git a/README.md b/README.md index 953b2fecf..0dad3378e 100644 --- a/README.md +++ b/README.md @@ -91,8 +91,6 @@ Currently, the `@compat` macro supports the following syntaxes: * `Compat.split` and `Compat.rsplit` accept `keepempty` keyword argument if `splitter` is given as second argument ([#26634]) -* `isalpha` is now `isletter` ([#27077]). - * `cfunction` is now `@cfunction` ([#26486]). * `vecnorm` and `vecdot` are now `Compat.norm` and `Compat.dot`, respectively, while the diff --git a/src/Compat.jl b/src/Compat.jl index 7617b6626..6a0c605eb 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -78,12 +78,6 @@ end end end -# https://github.com/JuliaLang/julia/pull/27077 -@static if VERSION < v"0.7.0-DEV.5087" - export isletter - const isletter = isalpha -end - # https://github.com/JuliaLang/julia/pull/26850 if !isdefined(Base, :isbitstype) # 0.7.0-DEV.4905 export isbitstype diff --git a/test/old.jl b/test/old.jl index fb8ce57ef..3278f69ad 100644 --- a/test/old.jl +++ b/test/old.jl @@ -1078,3 +1078,8 @@ end yieldto(t) fetch(t) end + +# 0.7.0-DEV.5087 +@test isletter('a') +@test isletter('β') +@test !isletter('3') diff --git a/test/runtests.jl b/test/runtests.jl index e40693714..44137bc51 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.5087 -@test isletter('a') -@test isletter('β') -@test !isletter('3') - # 0.7.0-DEV.4905 @test isbitstype(Int) @test !isbitstype(Vector{Int})