Skip to content

Commit

Permalink
Merge pull request #199 from JuliaLang/tk/dontexportstring
Browse files Browse the repository at this point in the history
Don't export String since it is already exported by Base
  • Loading branch information
tkelman committed May 11, 2016
2 parents 2a969ae + 9cabf17 commit b00c9a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ module Compat
using Base.Meta

if isdefined(Core, :String) && isdefined(Core, :AbstractString)
typealias String Core.String
# Not exported in order to not break code on 0.5
typealias UTF8String Core.String
typealias ASCIIString Core.String
else
typealias String Base.ByteString
end
export String

if VERSION < v"0.4.0-dev+2340"
const base64encode = base64
Expand Down

0 comments on commit b00c9a8

Please sign in to comment.