-
Notifications
You must be signed in to change notification settings - Fork 29
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
SIGNATURES
randomly generated
#102
Comments
What kind of output are you getting when using |
Hi! Reviving this issue-- I see the same problem with Quite surprisingly, a different set of signatures is missing ( Regarding this:
No, the missing signatures are not present even in REPL. |
...turns out
🙄 |
looks like in some cases the unionall is missing in
|
Ok I probably found the problem, looks like a sneaky broadcast: julia> sig = (Tuple{G} where G)
Tuple{G} where G
julia> Base.rewrap_unionall.(DocStringExtensions.uniontypes(Base.unwrap_unionall(sig)), sig)
1-element Vector{DataType}:
Tuple{G}
julia> Base.rewrap_unionall.(DocStringExtensions.uniontypes(Base.unwrap_unionall(sig)), Ref(sig))
1-element Vector{UnionAll}:
Tuple{G} where G I'll check how much this breaks all the other stuff and send a patch. :] |
For me this fixes JuliaDocs#102 Problematic use-case is roughly as follows: ``` julia> sig = (Tuple{G} where G) Tuple{G} where G julia> Base.rewrap_unionall.(DocStringExtensions.uniontypes(Base.unwrap_unionall(sig)), sig) 1-element Vector{DataType}: Tuple{G} julia> Base.rewrap_unionall.(DocStringExtensions.uniontypes(Base.unwrap_unionall(sig)), Ref(sig)) 1-element Vector{UnionAll}: Tuple{G} where G ```
I tried to use
DocStringExtensions.jl
with the packageKrylov.jl
but I encountered some problems. When I build the docs, the signature of only two random Krylov solvers is generated. Do you have an idea where the problem comes from?JuliaSmoothOptimizers/Krylov.jl#208
The text was updated successfully, but these errors were encountered: