Skip to content

Commit f82777f

Browse files
committed
Fixed bug in Buffer.copy()
1 parent 1671527 commit f82777f

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)