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

updated CharString semantics for Julia 0.3 #18

Closed
stevengj opened this issue May 30, 2014 · 2 comments
Closed

updated CharString semantics for Julia 0.3 #18

stevengj opened this issue May 30, 2014 · 2 comments

Comments

@stevengj
Copy link

It seems likely that the CharString constructor will be changing in Julia 0.3 (JuliaLang/julia#7016), but it looks like there is an easy fix to make your code compatible with both Julia 0.2 and Julia 0.3. Just change:

return utf8(CharString(r[1:i]))

to use utf8(r[1:i]). The intermediate construction of a CharString is not necessary even in Julia 0.2.

@johnmyleswhite
Copy link
Collaborator

Thanks. Will fix now.

@johnmyleswhite
Copy link
Collaborator

Closed by a7e55e4

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

No branches or pull requests

2 participants