We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm not sure if this is a duplicate of the other let block issues, but I came across this:
let global foo bar(x::Float64) = x+1 bar(x::Float32) = x+2 foo(x) = bar(x) end
julia> @code_warntype foo(1.0) Variables: #self#::#foo x::Float64 Body: begin return ((Core.getfield)($(QuoteNode(Core.Box(bar))),:contents)::Any)(x::Float64)::Any end::Any
This problem goes away if I get rid of the 2nd method for bar.
bar
The text was updated successfully, but these errors were encountered:
Dup of #15276
Sorry, something went wrong.
No branches or pull requests
I'm not sure if this is a duplicate of the other let block issues, but I came across this:
This problem goes away if I get rid of the 2nd method for
bar
.The text was updated successfully, but these errors were encountered: