Skip to content

Commit

Permalink
add missing io arg to print_statement_costs (JuliaLang#39579)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson authored and antoine-levitt committed May 9, 2021
1 parent 226e11c commit ee32e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/reflection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ function print_statement_costs(io::IO, @nospecialize(tt::Type);
nd = ndigits(maxcost)
println(io, meth)
IRShow.show_ir(io, code, (io, linestart, idx) -> (print(io, idx > 0 ? lpad(cst[idx], nd+1) : " "^(nd+1), " "); return ""))
println()
println(io)
end
end

Expand Down

0 comments on commit ee32e5f

Please sign in to comment.