From ee32e5f56e7135d6b221947cdf7ac9c5f567b0c7 Mon Sep 17 00:00:00 2001 From: Jeff Bezanson Date: Tue, 9 Feb 2021 15:09:42 -0500 Subject: [PATCH] add missing io arg to `print_statement_costs` (#39579) --- 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