Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

groupJoin throws exception if outer sequence contains elements without inner sequence #11

Open
bman654 opened this issue Mar 13, 2015 · 1 comment

Comments

@bman654
Copy link

bman654 commented Mar 13, 2015

It is supposed to work as a left outer join, but instead it throws an error if the inner sequence has no matching elements to any of the outer elements.

This will throw an error:

Ix.Enumerable.fromArray([1])
    .groupJoin(
        Ix.Enumerable.empty(),
        function (v) { return v; },
        function (v) { return v; },
        function (o,i) { return o; })
    .toArray();

It should return [1].

@elmerbulthuis
Copy link
Contributor

fixed it in #14

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants