We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following expression is useless, since you'd expect the second chain call to just return a new wrapper of the same value:
chain
_.chain([1]).chain()
but rather than behaving like a no-op, it results in a stack overflow. Credits to @reubenrybnik for pointing this out in DefinitelyTyped/DefinitelyTyped#45201 (comment). This minor pitfall might have been introduced with #1691.
I'm hesitant to give this a "bug" label as it is rather non-urgent, but technically it's a bug. Documenting in an issue ticket for reference.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The following expression is useless, since you'd expect the second
chain
call to just return a new wrapper of the same value:but rather than behaving like a no-op, it results in a stack overflow. Credits to @reubenrybnik for pointing this out in DefinitelyTyped/DefinitelyTyped#45201 (comment). This minor pitfall might have been introduced with #1691.
I'm hesitant to give this a "bug" label as it is rather non-urgent, but technically it's a bug. Documenting in an issue ticket for reference.
The text was updated successfully, but these errors were encountered: