Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

no method matching length(::Iterators.Chain) #56

Closed
lmshk opened this issue Apr 17, 2016 · 1 comment
Closed

no method matching length(::Iterators.Chain) #56

lmshk opened this issue Apr 17, 2016 · 1 comment

Comments

@lmshk
Copy link

lmshk commented Apr 17, 2016

On edge julia, Iterators.jl tests fail on

Expression: collect(chain(1:2:5,0.2:0.1:1.6)) == [1:2:5;0.2:0.1:1.6]

with

MethodError: no method matching length(::Iterators.Chain)

Possibly this is due to Julia #15146. See also #42.

@oxinabox
Copy link
Member

See also JuliaLang/julia#15977

Basically it is required to go through and implement Base.iteratorsize on everything.
Which would not be unfun to do.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants