From 184153e00def48bb516785fae34c0c75cfa38ed6 Mon Sep 17 00:00:00 2001 From: Jakob Nybo Nissen Date: Wed, 11 Dec 2024 16:03:41 +0100 Subject: [PATCH] Delete dead code --- base/iterators.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/base/iterators.jl b/base/iterators.jl index 5cd53cb6ebc2b..4eddbb471526a 100644 --- a/base/iterators.jl +++ b/base/iterators.jl @@ -1216,7 +1216,6 @@ function eltype(::Type{Flatten{I}}) where {I<:Union{Tuple,NamedTuple}} T end -promote_typejoin(map(eltype, fieldtypes(I))...) eltype(::Type{Flatten{Tuple{}}}) = eltype(Tuple{}) IteratorEltype(::Type{Flatten{I}}) where {I} = _flatteneltype(I, IteratorEltype(I)) IteratorEltype(::Type{Flatten{Tuple{}}}) = IteratorEltype(Tuple{})