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 or deadlock issue. #517

Merged
merged 3 commits into from
Mar 5, 2024
Merged

Fix or deadlock issue. #517

merged 3 commits into from
Mar 5, 2024

Conversation

cheatfate
Copy link
Collaborator

Address issue #516.

@@ -1667,8 +1667,7 @@ proc `or`*[T, Y, E1, E2](
type
InternalRaisesFutureRaises = union(E1, E2)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this might be a problem if neither of E1, E2 raise CancelledError

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How i can do this? Because looks like prepend and union are not working here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in d5fd666

@arnetheduck arnetheduck merged commit 1eb834a into master Mar 5, 2024
12 checks passed
@arnetheduck arnetheduck deleted the address-516 branch March 5, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants