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

Fix odd use of E.when #1364

Closed
erights opened this issue Aug 3, 2020 · 0 comments · Fixed by #1561
Closed

Fix odd use of E.when #1364

erights opened this issue Aug 3, 2020 · 0 comments · Fixed by #1561
Assignees
Labels
hygiene Tidying up around the house notifier

Comments

@erights
Copy link
Member

erights commented Aug 3, 2020

E.when(iterator.next()).then(

This is not how E.when is meant to be used. Either substitute E.resolve (which, btw, is currently absent from the type declarations. See #1361 ) or replace the following ).then( with a comma, so that the first and second .then arguments become the second and third E.when arguments. (This doesn't yet work in the type system because #1362 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hygiene Tidying up around the house notifier
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant