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
code_warntype
julia> function g end; julia> f() = g(); julia> @code_warntype f() Variables #self#::Core.Compiler.Const(f, false) Body::Union{} 1 ─ Main.g() └── Core.Compiler.Const(:(return %1), false)
Const(:(return %1)) should not be there.
Const(:(return %1))
The text was updated successfully, but these errors were encountered:
This happens when inference doesn't explore some code paths. For some reason the rest of that code path will get wrapped in Const()
Sorry, something went wrong.
Yeah, it should probably use something like Expr(:unreachable, ...) there instead
Expr(:unreachable, ...)
No branches or pull requests
Const(:(return %1))
should not be there.The text was updated successfully, but these errors were encountered: