From d1da34a619eed5d2daf5ed662949758d334830d7 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Wed, 11 Jan 2023 11:09:32 +0100 Subject: [PATCH] Remove `show` for `Type{<:Pullback}` --- src/compiler/show.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/show.jl b/src/compiler/show.jl index a72ca7527..8e6797f15 100644 --- a/src/compiler/show.jl +++ b/src/compiler/show.jl @@ -10,4 +10,3 @@ end Base.show(io::IO, j::Pullback{S}) where S = print(io, "∂($(funcname(S.parameters[1])))") -Base.show(io::IO, P::Type{<:Pullback{S}}) where S<:Tuple = print(io, "typeof(∂($(funcname(@isdefined(S) ? S.parameters[1] : nothing))))")