Skip to content

Commit

Permalink
Delete unnecessary eltype method of CompositeException (JuliaLang#54177)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner committed Apr 22, 2024
1 parent b5bfd83 commit 4a4d850
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion base/task.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4a4d850

Please sign in to comment.