Skip to content

Commit e204ac0

Browse files
committed
Drop compat code for Char concatenation from #406
1 parent 2bed8a5 commit e204ac0

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
@@ -86,8 +86,6 @@ Currently, the `@compat` macro supports the following syntaxes:
8686

8787
* `isnothing` for testing if a variable is equal to `nothing` ([#29674]).
8888

89-
* `*(::Union{Char,AbstractString},::Union{Char,AbstractString})` concatenation. ([#22512])
90-
9189
* `diagm` and `spdiagm` accept pairs mapping diagonals to vectors ([#24047], [#23757])
9290

9391
* Constructors for `Matrix{T}`, `Array{T}`, and `SparseMatrixCSC{T}` from `UniformScaling` ([#24372], [#24657])

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.912
40-
if VERSION < v"0.7.0-DEV.912"
41-
import Base.*
42-
(*)(s1::Union{Char,AbstractString}, ss::Union{Char,AbstractString}...) = string(s1, ss...)
43-
end
44-
4539
# 0.7.0-DEV.2318
4640
@static if !isdefined(Base, :BitSet)
4741
const BitSet = IntSet

test/old.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,3 +482,6 @@ end
482482
@test occursin("World", "Hello, World!")
483483
# 0.7.0-DEV.912
484484
@test occursin('W', "Hello, World!")
485+
486+
# 0.7
487+
@test 'a'*"b" == "a"*'b' == 'a'*'b' == "ab"

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 'a'*"b" == "a"*'b' == 'a'*'b' == "ab"
77-
7875
# 0.7
7976
@test 1 in BitSet(1:10)
8077

0 commit comments

Comments
 (0)