Skip to content

Commit c4064aa

Browse files
committed
Drop compat code for isletter from #542
1 parent 68c3279 commit c4064aa

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ Currently, the `@compat` macro supports the following syntaxes:
9191
* `Compat.split` and `Compat.rsplit` accept `keepempty` keyword argument
9292
if `splitter` is given as second argument ([#26634])
9393

94-
* `isalpha` is now `isletter` ([#27077]).
95-
9694
* `cfunction` is now `@cfunction` ([#26486]).
9795

9896
* `vecnorm` and `vecdot` are now `Compat.norm` and `Compat.dot`, respectively, while the

src/Compat.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,6 @@ end
7878
end
7979
end
8080

81-
# https://github.com/JuliaLang/julia/pull/27077
82-
@static if VERSION < v"0.7.0-DEV.5087"
83-
export isletter
84-
const isletter = isalpha
85-
end
86-
8781
# https://github.com/JuliaLang/julia/pull/26850
8882
if !isdefined(Base, :isbitstype) # 0.7.0-DEV.4905
8983
export isbitstype

test/old.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,3 +1078,8 @@ end
10781078
yieldto(t)
10791079
fetch(t)
10801080
end
1081+
1082+
# 0.7.0-DEV.5087
1083+
@test isletter('a')
1084+
@test isletter('β')
1085+
@test !isletter('3')

test/runtests.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ end
8282

8383
@test codeunit("foo") == codeunit(SubString("fooαβγ",1,3)) == UInt8
8484

85-
# 0.7.0-DEV.5087
86-
@test isletter('a')
87-
@test isletter('β')
88-
@test !isletter('3')
89-
9085
# 0.7.0-DEV.4905
9186
@test isbitstype(Int)
9287
@test !isbitstype(Vector{Int})

0 commit comments

Comments
 (0)