Type aliases are not printed as aliases if the aliased type is imported from a different module #40448
Labels
display and printing
Aesthetics and correctness of printed representations of objects.
The following works as expected:
Then in REPL:
However, if the aliased type is defined somewhere else, the alias is not shown as alias:
I would have expected it to show
and use
Tensor3{Int64}
prefix when showing the array.Tensor3
does act as an alias otherwise:Julia version:
The text was updated successfully, but these errors were encountered: