Skip to content

Commit

Permalink
Pull - Translate compilation - Fix error case.
Browse files Browse the repository at this point in the history
If there is an error, it should be handled with the
continuation of the `Translate` node, like most nodes.
  • Loading branch information
diesalbla committed Mar 6, 2022
1 parent 5ca9dbf commit 6708fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/shared/src/main/scala/fs2/Pull.scala
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ object Pull extends PullLowPriority {
}
def interrupted(inter: Interrupted): F[B] =
go(scope, extendedTopLevelScope, translation, runner, view(inter))
def fail(e: Throwable): F[B] = runner.fail(e)
def fail(e: Throwable): F[B] = goErr(e, view)
}

abstract class StepRunR[Y, S](view: Cont[Option[S], G, X]) extends Run[G, Y] {
Expand Down

0 comments on commit 6708fd9

Please # to comment.