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

Review condition types #109

Closed
Tracked by #175
sergeysova opened this issue Oct 24, 2020 · 2 comments · Fixed by #321
Closed
Tracked by #175

Review condition types #109

sergeysova opened this issue Oct 24, 2020 · 2 comments · Fixed by #321
Labels
bug Something isn't working
Milestone

Comments

@sergeysova
Copy link
Member

image

@sergeysova sergeysova added the bug Something isn't working label Oct 24, 2020
@sergeysova
Copy link
Member Author

then and else allows Unit<void> in union (Unit<T> | Unit<void> or Unit<T | void> doesnt matter).
When Event<T> passed to else it comes as T assigning to T | void, but also it is requires T | void for else, but passed T.

@sergeysova sergeysova added this to the v1.1 milestone Nov 10, 2020
@sergeysova sergeysova modified the milestones: v1.1, v1.2 Feb 14, 2021
@sergeysova sergeysova mentioned this issue Nov 14, 2021
35 tasks
@sergeysova sergeysova modified the milestones: v1.2, v2.0 Nov 14, 2021
@ainursharaev
Copy link
Contributor

then and else allows Unit<void> in union (Unit<T> | Unit<void> or Unit<T | void> doesnt matter). When Event<T> passed to else it comes as T assigning to T | void, but also it is requires T | void for else, but passed T.

Could you please reproduce the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants