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
This caught me by surprise:
julia> x=(1,2.0,"hi"); julia> @code_warntype first(x) Variables: #self#::Base.#first t::Tuple{Int64,Float64,String} Body: begin return (Base.getfield)(t::Tuple{Int64,Float64,String},1)::Int64 end::Int64 julia> @code_warntype(last(x)) Variables: #self#::Base.#last a::Tuple{Int64,Float64,String} Body: begin SSAValue(0) = (Base.nfields)(a::Tuple{Int64,Float64,String})::Int64 return (Base.getfield)(a::Tuple{Int64,Float64,String},SSAValue(0))::Union{Float64,Int64,String} end::Union{Float64,Int64,String}
The text was updated successfully, but these errors were encountered:
#19540
Sorry, something went wrong.
nfields
fixed by #19605.
No branches or pull requests
This caught me by surprise:
The text was updated successfully, but these errors were encountered: