Skip to content

Fixed bug in Buffer.copy()#181

Merged
mperry merged 1 commit into
functionaljava:masterfrom
orionll:patch-1
Aug 17, 2015
Merged

Fixed bug in Buffer.copy()#181
mperry merged 1 commit into
functionaljava:masterfrom
orionll:patch-1

Conversation

@orionll

@orionll orionll commented Aug 17, 2015

Copy link
Copy Markdown
Contributor

There was a bug in copy():

Buffer<Integer> buf = Buffer.empty();
System.out.println(buf.snoc(1).snoc(2).snoc(3).toList());
System.out.println(buf.snoc(4).toList()); // Prints List() instead of List(1,2,3,4)

mperry added a commit that referenced this pull request Aug 17, 2015
Fixed bug in Buffer.copy()
@mperry
mperry merged commit c9d903c into functionaljava:master Aug 17, 2015
mperry added a commit that referenced this pull request Aug 17, 2015
@mperry

mperry commented Aug 17, 2015

Copy link
Copy Markdown
Contributor

Nice work spotting this @orionll. Thanks for the fix!

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.

2 participants