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

_empty_str not defined #17

Closed
adkabo opened this issue Jan 27, 2022 · 1 comment
Closed

_empty_str not defined #17

adkabo opened this issue Jan 27, 2022 · 1 comment

Comments

@adkabo
Copy link

adkabo commented Jan 27, 2022

I get this error when trying to convert some code units:

julia> convert(LatinStr, collect(codeunits("")))
ERROR: UndefVarError: _empty_str not defined
Stacktrace:
 [1] convert(#unused#::Type{LatinStr}, vec::Vector{UInt8})
   @ StrBase ~/.julia/packages/StrBase/JnHYd/src/latin.jl:170
 [2] top-level scope
   @ REPL[17]:1
  [e79e7a6a] StrBase v1.1.0
  [7bddbee9] Strs v1.1.0
ScottPJones added a commit that referenced this issue Feb 24, 2022
Fix Issue #17, as well as another problem with convert and _LatinStr, and a new error code added in 1.8
@ScottPJones
Copy link
Member

Fixed by PR#18

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