1

Closed

EqualityComparer error

description

I tryed to use distinct with equalityComparer without any luck.
When I saw the jsinq.js, I found an error on line 105, in the "EqualityComparer.fromFunction".
For some reason, the code is "comparer.compare = func;" where I think it must be "comparer.equals = func;"
With this change, the comparer do work.
Closed Aug 4, 2010 at 6:39 AM by kaijaeger
Solved.

comments

kaijaeger wrote Aug 4, 2010 at 6:39 AM

Thank you for reporting this! This has been resolved in JSINQ 1.0.0.2.