Skip to content
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
Closed

Seq.chunkBysize exception #935

cata opened this issue Apr 7, 2018 · 2 comments

Comments

@cata
Copy link
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
Copy link
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

@cata
Copy link
Contributor Author

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
Projects
None yet
Development

No branches or pull requests

2 participants