Skip to content

Commit

Permalink
Remove defintions of xor and
Browse files Browse the repository at this point in the history
Were added in #289.
  • Loading branch information
martinholters committed Aug 31, 2018
1 parent 47db995 commit bf32b0d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,6 @@ Currently, the `@compat` macro supports the following syntaxes:

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

* `$` is now `xor` or `` ([#18977])

* `num` and `den` are now `numerator` and `denominator` ([#19246])

* `takebuf_array` is now a method of `take!`. `takebuf_string(io)` becomes `String(take!(io))` ([#19088])
Expand Down Expand Up @@ -482,7 +480,6 @@ includes this fix. Find the minimum version from there.
[#18082]: https://github.com/JuliaLang/julia/issues/18082
[#18629]: https://github.com/JuliaLang/julia/issues/18629
[#18727]: https://github.com/JuliaLang/julia/issues/18727
[#18977]: https://github.com/JuliaLang/julia/issues/18977
[#19088]: https://github.com/JuliaLang/julia/issues/19088
[#19246]: https://github.com/JuliaLang/julia/issues/19246
[#19449]: https://github.com/JuliaLang/julia/issues/19449
Expand Down
8 changes: 0 additions & 8 deletions src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,6 @@ else
end
end

# julia#18977
@static if !isdefined(Base, :xor)
# 0.6
const xor = $
const = xor
export xor,
end

# julia#19246
@static if !isdefined(Base, :numerator)
# 0.6
Expand Down
3 changes: 0 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ else
end
end

@test xor(1,5) == 4
@test 1 5 == 4

# supertype operator
@test !(Int >: Integer)
@test Integer >: Int
Expand Down

0 comments on commit bf32b0d

Please sign in to comment.