Skip to content

Commit

Permalink
Fix ~370 invalidations from Expr(:ncat, ...) pretty-printing (#41877)
Browse files Browse the repository at this point in the history
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 Aug 18, 2021
1 parent be94c9c commit 232ee11
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 232ee11

Please sign in to comment.