New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seq.chunkBysize exception #935

cata opened this Issue Apr 7, 2018 · 2 comments


2 participants

cata commented Apr 7, 2018

For certain sequence expressions, Seq chunkBySize throws exception if the resulting sequence is shorter than the maximum chunk size.

See repro here:


This comment has been minimized.


Jand42 commented Apr 9, 2018

Thanks for the report! Indeed, the chunkBySize proxy is calling MoveNext again on a sequence object when it has already ran out, this can fail, and so needs a fix

@Jand42 Jand42 closed this in f42a4c3 Apr 9, 2018

@Jand42 Jand42 added this to 4.2.VNext in Releases Apr 16, 2018

@Jand42 Jand42 added the label Apr 17, 2018


This comment has been minimized.


cata commented Apr 17, 2018

@Jand42 - thank you for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment