Open ToucheSir opened 2 years ago
I think this is best fixed in Base.
I see, do you know of a Base issue to follow? I found https://github.com/JuliaLang/julia/issues/41034 before filing this but was unsure if it was related.
I'm not sure of an open issue, but it's this TODO that needs to be addressed: https://github.com/JuliaLang/julia/blob/6b29ebda35b6c844198c5d1533587711a6700df2/base/show.jl#L580-L582
Is your feature request related to a problem? Please describe.
The aliases defined in https://github.com/JuliaGPU/CUDA.jl/blob/v3.8.2/src/array.jl#L120-L121 do not seem to be considered as aliases for display purposes.
Describe the solution you'd like
Describe alternatives you've considered
The default expanded
CuArray
printing is workable, but can add quote a bit of noise to the display of nested struct types and stacktraces.Additional context
I tried figuring out how to do this but couldn't make sense of how the alias resolution works :(