From 843713b6950b29518ce7e92d944e4fba5dcd377c Mon Sep 17 00:00:00 2001 From: Jeff Bezanson Date: Mon, 8 Feb 2021 18:02:04 -0500 Subject: [PATCH] add missing io arg to `print_statement_costs` --- base/reflection.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/reflection.jl b/base/reflection.jl index d4ca118bb5aa2..de07dd3e589a5 100644 --- a/base/reflection.jl +++ b/base/reflection.jl @@ -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