julia icon indicating copy to clipboard operation
julia copied to clipboard

misleading printing of value type parameters

Open nsajko opened this issue 9 months ago • 1 comments

Int32(7) in Val{Int32(7)} is shown as a mere 7:

julia> Val{Int32(7)}
Val{7}

That's not correct, however, given that Val{Int32(7)} != Val{7}.

The misleading printing behavior leads to confusion and complaints such as this one: https://github.com/JuliaArrays/StaticArrays.jl/issues/1233

nsajko avatar Jan 28 '25 22:01 nsajko

The PR #58512 fixes this, but for static_show instead of for regular show.

nsajko avatar Jun 08 '25 16:06 nsajko