From 232ee11fe99b89a1f72e462692cb4245a186b9ce Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Wed, 18 Aug 2021 03:19:23 -0500 Subject: [PATCH] Fix ~370 invalidations from Expr(:ncat, ...) pretty-printing (#41877) These get invalidated by loading Static.jl, specifically the method ``` Base.convert(::Type{T}, ::StaticInt{N}) where {T<:Number,N} = convert(T, N) ``` --- base/show.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/show.jl b/base/show.jl index 4fa8ba2e2cded..40fe1ec7d64f0 100644 --- a/base/show.jl +++ b/base/show.jl @@ -1832,7 +1832,7 @@ function show_unquoted(io::IO, ex::Expr, indent::Int, prec::Int, quote_level::In elseif head === :hcat || head === :row sep = " " elseif head === :ncat || head === :nrow - sep = ";"^args[1] * " " + sep = ";"^args[1]::Int * " " args = args[2:end] nargs = nargs - 1 else