Skip to content

Commit 34f152d

Browse files
committed
stop overloading show on Types
1 parent 871dea0 commit 34f152d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tangent.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,8 @@ wrapper_name(::Type{<:ZeroBundle}) = "ZeroBundle"
304304
wrapper_name(::Type{<:DNEBundle}) = "DNEBundle"
305305
wrapper_name(::Type{<:AbstractZeroBundle}) = "AbstractZeroBundle"
306306

307+
#=
308+
# These methods cause too many invalidations to be feasible
307309
function Base.show(io::IO, T::Type{<:AbstractZeroBundle{N, B}}) where {N,B}
308310
print(io, wrapper_name(T))
309311
print(io, @isdefined(N) ? "{$N, " : "{N, ")
@@ -315,6 +317,7 @@ function Base.show(io::IO, T::Type{<:AbstractZeroBundle{N}}) where {N}
315317
print(io, wrapper_name(T))
316318
@isdefined(N) && print(io, "{$N}")
317319
end
320+
=#
318321

319322
function Base.show(io::IO, t::AbstractZeroBundle{N}) where N
320323
print(io, wrapper_name(typeof(t)))

0 commit comments

Comments
 (0)