Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compat.Unicode.normalize refers to wrong functions #506

Closed
ExpandingMan opened this issue Mar 1, 2018 · 1 comment
Closed

Compat.Unicode.normalize refers to wrong functions #506

ExpandingMan opened this issue Mar 1, 2018 · 1 comment
Labels

Comments

@ExpandingMan
Copy link

julia> methods(Compat.Unicode.normalize)
# 2 methods for generic function "normalize":
normalize(v::AbstractArray{T,1} where T) in Base.LinAlg at linalg/generic.jl:1367
normalize(v::AbstractArray{T,1} where T, p::Real) in Base.LinAlg at linalg/generic.jl:1367
@stevengj
Copy link
Member

stevengj commented Mar 1, 2018

Since this was renamed from normalize_string in the same PR that created the Unicode module (JuliaLang/julia#25021), the fix is simple: in the VERSION < v"0.7.0-DEV.2915" case, just add:

const normalize = normalize_string

and add normalize to the exports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants