Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Throw when flatMap's mapper returns a non-iterable#59

Merged
devsnek merged 2 commits intotc39:masterfrom
bakkot:throw-on-non-iterable
Nov 7, 2019
Merged

Throw when flatMap's mapper returns a non-iterable#59
devsnek merged 2 commits intotc39:masterfrom
bakkot:throw-on-non-iterable

Conversation

@bakkot
Copy link
Copy Markdown
Member

@bakkot bakkot commented Oct 23, 2019

Fixes #55 and #58.

Closing the iterator appropriately in error cases is still badly broken, of course (cf #54), so I didn't worry about getting that right.

Comment thread spec.html
Comment thread spec.html
Comment thread spec.html Outdated
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider making flatMap throw if the mapper returns a non-iterable

4 participants