From f75211a96ad72ec6b41fb531ab33f359639427c3 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Mon, 11 Dec 2023 14:38:33 -0500 Subject: [PATCH] tracing: fix bug in the pretty-printer --- src/utils.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils.jl b/src/utils.jl index 8ad4b1aa6..e34818784 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -138,8 +138,6 @@ end # Print type stability check in a form of pseudo-method declaration print_check(io, m::Method, @nospecialize(types)) = begin print(io, "function $(m.name)(") - for t in types - print(io, "::$t") - end + print(io, join(map(t->"::$t", types), ", ")) println(io, ")") end