Skip to content

Commit 6df3863

Browse files
committed
Drop compat code for ComplexF... from #431
1 parent 29eaf0f commit 6df3863

File tree

4 files changed

+5
-22
lines changed

4 files changed

+5
-22
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,6 @@ Currently, the `@compat` macro supports the following syntaxes:
157157

158158
* `strwidth` and `charwidth` are now merged into `textwidth` ([#23667]).
159159

160-
* `Complex32`, `Complex64`, and `Complex128` are now `ComplexF16`, `ComplexF32`, and
161-
`ComplexF64`, respectively ([#24647]).
162-
163160
* `trace` is now `tr`, available as `Compat.tr` ([#26365]).
164161

165162
* `Associative` is now `AbstractDict` ([#25012]).

src/Compat.jl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,6 @@ import Base64
3737

3838
include("compatmacro.jl")
3939

40-
# 0.7.0-DEV.2919
41-
@static if !isdefined(Base, :ComplexF16)
42-
const ComplexF16 = Complex{Float16}
43-
export ComplexF16
44-
end
45-
@static if !isdefined(Base, :ComplexF32)
46-
const ComplexF32 = Complex{Float32}
47-
export ComplexF32
48-
end
49-
@static if !isdefined(Base, :ComplexF64)
50-
const ComplexF64 = Complex{Float64}
51-
export ComplexF64
52-
end
53-
5440
# julia #26365
5541
@static if isdefined(LinearAlgebra, :tr)
5642
const tr = LinearAlgebra.tr

test/old.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,3 +538,8 @@ let key = "TEST_23412"
538538
@test !haskey(ENV, key)
539539
@test get(() -> "default", ENV, key) == "default"
540540
end
541+
542+
# 0.7.0-DEV.2919
543+
@test ComplexF16 === Complex{Float16}
544+
@test ComplexF32 === Complex{Float32}
545+
@test ComplexF64 === Complex{Float64}

test/runtests.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ let A = [1]
8787
@test x == 1
8888
end
8989

90-
# 0.7.0-DEV.2919
91-
@test ComplexF16 === Complex{Float16}
92-
@test ComplexF32 === Complex{Float32}
93-
@test ComplexF64 === Complex{Float64}
94-
9590
# 0.7.0-DEV.2915
9691
module Test25021
9792
using Compat

0 commit comments

Comments
 (0)