Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@iravid
Copy link
Member

@iravid iravid commented Jul 21, 2020

Resolves #3977.

The problem was that we could discard folds during interruption and then enter an uninterruptible region that catches the interruption. At that point, even though we discarded folds, we still carried along the full cause which is probably not typed correctly.

The fix just moves the typed failure stripping out of the if that branches on whether the failure was caught or not.

@iravid iravid requested review from adamgfraser and jdegoes July 21, 2020 10:47
@jdegoes jdegoes merged commit 89005b5 into zio:master Jul 21, 2020
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.

CCE in FiberContext

2 participants