-
Notifications
You must be signed in to change notification settings - Fork 7
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
remove convert method for Any
?
#51
Comments
|
Works for me on master. What's the full error output you get? |
julia> convert(Any, NA)
ERROR: MethodError: convert(::Type{Any}, ::DataValue{Union{}}) is ambiguous. Candidates:
convert(::Type{Union{Missing, T}}, ::DataValue{Union{}}) where T in DataValues at C:\Users\david\.julia\dev\DataValues\src\scalar\core.jl:38
convert(::Type{Any}, x) in Base at essentials.jl:153
Possible fix, define
convert(::Type{Any}, ::DataValue{Union{}})
Stacktrace:
[1] top-level scope at none:0 |
This also causes issues when trying to put a
on 1.5 or
on master. That first error is also the cause of julia-vscode/julia-vscode#1940. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As in JuliaData/CategoricalArrays.jl#177, the method
causes a lot of recompilation. IIUC,
NA
is a singleton and so this method is not different from the default conversion toAny
in Base?The text was updated successfully, but these errors were encountered: