Skip to content

Commit 2a0004d

Browse files
committed
comment that eltype of a Base.Generator returns Any
1 parent 0807f7a commit 2a0004d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/sumlog.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
@test (@inferred sumlog(tup)) sum(log, tup)
1111

1212
gen = (sqrt(a) for a in y)
13+
# `eltype` of a `Base.Generator` returns `Any`
1314
@test_broken (@inferred sumlog(gen)) sum(log, gen)
1415

1516
nt = NamedTuple{tuple(Symbol.(1:100)...)}(tup)

0 commit comments

Comments
 (0)