Skip to content

Commit a96c864

Browse files
authored
fix show Type{<:AbstractZeroBundle}
We arguably should delete this method for all the reasons that you never are supposed to define these, but if we are defining it, we should at least define it right.
1 parent 8296354 commit a96c864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tangent.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ wrapper_name(::Type{<:AbstractZeroBundle}) = "AbstractZeroBundle"
262262
function Base.show(io::IO, T::Type{<:AbstractZeroBundle{N, B}}) where {N,B}
263263
print(io, wrapper_name(T))
264264
print(io, @isdefined(N) ? "{$N, " : "{N, ")
265-
show(io, B)
265+
@isdefined(B) ? show(io, B) : print(io, "B")
266266
print(io, "}")
267267
end
268268

0 commit comments

Comments
 (0)