Skip to content

Commit

Permalink
Fix 0.6 typealias depwarn (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao authored and ararslan committed Feb 14, 2017
1 parent 615a623 commit bd00f16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
julia 0.4
Compat 0.9.5
Compat 0.18.0
2 changes: 1 addition & 1 deletion src/LegacyStrings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ using Compat
end
end

typealias ByteString Union{ASCIIString,UTF8String}
const ByteString = Union{ASCIIString,UTF8String}

include("support.jl")
include("ascii.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/support.jl
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function unsafe_checkstring(dat::AbstractVector{UInt8},
return totalchar, flags, num4byte, num3byte, num2byte
end

typealias AbstractString1632{Tel<:Union{UInt16,UInt32}} Union{AbstractVector{Tel}, AbstractString}
@compat AbstractString1632{Tel<:Union{UInt16,UInt32}} = Union{AbstractVector{Tel}, AbstractString}

function unsafe_checkstring(
dat::AbstractString1632,
Expand Down

0 comments on commit bd00f16

Please sign in to comment.