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

Closed
cata opened this Issue Apr 7, 2018 · 2 comments

Comments

Projects
2 participants
@cata
Contributor

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: http://try.websharper.com/snippet/0000KZ

@Jand42

This comment has been minimized.

Member

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 4.2.9.256 label Apr 17, 2018

@cata

This comment has been minimized.

Contributor

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