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

LazySizedCollection.limit() produce StackOverflowError exception #569

Closed
HanikLZ opened this issue May 25, 2019 · 1 comment
Closed

LazySizedCollection.limit() produce StackOverflowError exception #569

HanikLZ opened this issue May 25, 2019 · 1 comment
Assignees
Labels

Comments

@HanikLZ
Copy link

HanikLZ commented May 25, 2019

function limit in LazySizedCollection class
override fun limit(n: Int, offset: Int): SizedIterable<T> = copy().limit(n, offset)
function copy in LazySizedCollection class
override fun copy(): SizedIterable<T> = LazySizedCollection(delegate.copy())
is this a bug?

@Tapac
Copy link
Contributor

Tapac commented May 25, 2019

@HanikLZ , definitely. Thank you for the report.

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

No branches or pull requests

2 participants