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 committed Feb 9, 2021
1 parent bc4e207 commit 35a9a12
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 35a9a12

Please sign in to comment.