Skip to content

Commit c9d903c

Browse files
committed
Merge pull request #181 from orionll/patch-1
Fixed bug in Buffer.copy()
2 parents 1671527 + f82777f commit c9d903c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/src/main/java/fj/data/List.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,6 +1986,7 @@ private void copy() {
19861986
List<A> s = start;
19871987
final Cons<A> t = tail;
19881988
start = nil();
1989+
tail = null;
19891990
exported = false;
19901991
while (s != t) {
19911992
snoc(s.head());

0 commit comments

Comments
 (0)