Closed clinuxrulz closed 7 years ago
Yes, that is correct. It looks like a bug. I checked the C# code and it does in fact return left.
Actually, I just took a look at the Java code, and it is correct. Are you sure you have updated to the latest version?
Sorry for the confusion, I was looking at the wrong method in the Java code. The one that operates on a collection of streams is in fact incorrect. I will fix it.
@clinuxrulz thank you for finding and reporting this! @jam40jeff thank you for fixing. This is important so I'll make a new release soon.
In the Java version I suspect that:
in Stream.java, Should be:
(swap
return right;
withreturn left;
)