Skip to content

Commit

Permalink
fix return type for jl_uncompress_argnames (JuliaLang#39215)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson authored Jan 13, 2021
1 parent 1580165 commit 748841f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/methodshow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function argtype_decl(env, n, @nospecialize(sig::DataType), i::Int, nargs, isva:
end

function method_argnames(m::Method)
argnames = ccall(:jl_uncompress_argnames, Vector{Any}, (Any,), m.slot_syms)
argnames = ccall(:jl_uncompress_argnames, Vector{Symbol}, (Any,), m.slot_syms)
isempty(argnames) && return argnames
return argnames[1:m.nargs]
end
Expand Down

0 comments on commit 748841f

Please sign in to comment.