Skip to content

Commit 4a4d850

Browse files
authored
Delete unnecessary eltype method of CompositeException (#54177)
1 parent b5bfd83 commit 4a4d850

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

base/task.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ push!(c::CompositeException, ex) = push!(c.exceptions, ex)
5353
pushfirst!(c::CompositeException, ex) = pushfirst!(c.exceptions, ex)
5454
isempty(c::CompositeException) = isempty(c.exceptions)
5555
iterate(c::CompositeException, state...) = iterate(c.exceptions, state...)
56-
eltype(::Type{CompositeException}) = Any
5756

5857
function showerror(io::IO, ex::CompositeException)
5958
if !isempty(ex)

0 commit comments

Comments
 (0)