Skip to content

Commit

Permalink
Fix ~370 invalidations from Expr(:ncat, ...) pretty-printing (JuliaLa…
Browse files Browse the repository at this point in the history
…ng#41877)

These get invalidated by loading Static.jl, specifically the method
```
Base.convert(::Type{T}, ::StaticInt{N}) where {T<:Number,N} = convert(T, N)
```
  • Loading branch information
timholy authored and LilithHafner committed Mar 8, 2022
1 parent a5223c5 commit d2afe8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2afe8b

Please sign in to comment.