JuliaWeb / URIs.jl

URI parsing in Julia
https://juliahub.com/docs/URIs
Other
26 stars 17 forks source link

ERROR: MethodError: no method matching _bytes(::String15) #42

Closed anandijain closed 2 years ago

anandijain commented 2 years ago

I guess it makes sense that you may not want to implicitly convert S15->String, but for someone that may not care what a String15 is, (like it being read from a CSV), it's a confusing error.

Should the fix be defining _bytes(s::AbstractString) = _bytes(String(s))? Not sure if that's right

quinnj commented 2 years ago

Thanks for the report; fix is up: https://github.com/JuliaWeb/URIs.jl/pull/48