Skip to content

Commit

Permalink
Char: add deprecations for bitwise ops on Chars
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed May 5, 2015
1 parent a29058e commit 41fd9c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -435,3 +435,8 @@ export float32_isvalid, float64_isvalid

@deprecate BigFloat(s::AbstractString) parse(BigFloat,s)
@deprecate BigInt(s::AbstractString) parse(BigInt,s)

@deprecate (~)(x::Char) Char(~UInt32(x))
@deprecate (&)(x::Char, y::Char) Char(UInt32(x) & UInt32(y))
@deprecate (|)(x::Char, y::Char) Char(UInt32(x) | UInt32(y))
@deprecate ($)(x::Char, y::Char) Char(UInt32(x) $ UInt32(y))

0 comments on commit 41fd9c7

Please sign in to comment.