From 4a4d85090b3bde224acec51477ab817cb4fb5298 Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner Date: Mon, 22 Apr 2024 13:20:29 -0500 Subject: [PATCH] Delete unnecessary eltype method of CompositeException (#54177) --- base/task.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/base/task.jl b/base/task.jl index 7b19fc5f2a3d1..4bbacaf3bdf5b 100644 --- a/base/task.jl +++ b/base/task.jl @@ -53,7 +53,6 @@ push!(c::CompositeException, ex) = push!(c.exceptions, ex) pushfirst!(c::CompositeException, ex) = pushfirst!(c.exceptions, ex) isempty(c::CompositeException) = isempty(c.exceptions) iterate(c::CompositeException, state...) = iterate(c.exceptions, state...) -eltype(::Type{CompositeException}) = Any function showerror(io::IO, ex::CompositeException) if !isempty(ex)