Skip to content

Commit ec74f44

Browse files
committed
Drop compat code for BitSet from #407
1 parent 8e1a289 commit ec74f44

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ Currently, the `@compat` macro supports the following syntaxes:
172172

173173
* `reprmime(mime, x)` is now `repr(mime, x)` ([#25990]) and `mimewritable` is now `showable` ([#26089]).
174174

175-
* `IntSet` is now `BitSet` ([#24282])
176-
177175
* `strwidth` and `charwidth` are now merged into `textwidth` ([#23667]).
178176

179177
* `Complex32`, `Complex64`, and `Complex128` are now `ComplexF16`, `ComplexF32`, and

src/Compat.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ import Base: Fix2
3636

3737
include("compatmacro.jl")
3838

39-
# 0.7.0-DEV.2318
40-
@static if !isdefined(Base, :BitSet)
41-
const BitSet = IntSet
42-
export BitSet
43-
end
44-
4539
# 0.7.0-DEV.2116
4640
@static if VERSION < v"0.7.0-DEV.2116"
4741
import Compat.SparseArrays: spdiagm

test/old.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,3 +485,6 @@ end
485485

486486
# 0.7
487487
@test 'a'*"b" == "a"*'b' == 'a'*'b' == "ab"
488+
489+
# 0.7
490+
@test 1 in BitSet(1:10)

test/runtests.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ if VERSION < v"0.7.0-DEV.880"
7272
end
7373
end
7474

75-
# 0.7
76-
@test 1 in BitSet(1:10)
77-
7875
# 0.7.0-DEV.1930
7976
@test textwidth("A") == 1
8077
@test textwidth('A') == 1

0 commit comments

Comments
 (0)