Skip to content

Commit

Permalink
Update linq.ts
Browse files Browse the repository at this point in the history
Fixing #38
  • Loading branch information
ENikS authored Oct 19, 2016
1 parent 6eed635 commit 6ad4b28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/linq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,11 @@ class EnumerableImpl<T> implements Enumerable<T>, Iterable<T>, IEnumerable<T> {
var it2 = other[Symbol.iterator]();
do {
res1 = it1.next(); res2 = it2.next();
if (res1.done && res2.done) return true;
if ((res1.done != res2.done) || !equal(res1.value, res2.value)) {
return false;
}
} while (!(res1.done) && !(res2.done));
return true;
} while (true);
}


Expand Down

0 comments on commit 6ad4b28

Please sign in to comment.