Skip to content

Commit

Permalink
Backport of #162 (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 authored Feb 1, 2023
1 parent 680b206 commit bd79ceb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ private [deepembedding] final class Seq[A](private [backend] var before: DoublyL
after.clear()
mergeFromRight(p, chooseInto(r))
// shift pure to the right by swapping before and after (before is empty linked list!)
case (_: Pure[_]) <** _ =>
case (_: Pure[_]) <* _ =>
assume(before.isEmpty, "empty can reuse before instead of allocating a new list because before is empty")
val empty = before
before = after
Expand Down

0 comments on commit bd79ceb

Please sign in to comment.