-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respect constraints on type class implementations #145
Conversation
9432bc5
to
697565f
Compare
d5e9534
to
8996d1c
Compare
d7419f6
to
f64efdb
Compare
432622b
to
53b5571
Compare
index.js
Outdated
(function() { | ||
var $seen = []; | ||
return function(x) { | ||
// if ($seen.includes (x)) return true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this code path can be exercised without the changes in the following commit. I think npm test
should pass for every new commit on master
, so I commented out this line and uncommented it in the following commit.
index.js
Outdated
// if ($seen.includes (x)) return true; | ||
if ($seen.includes (x)) return true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I uncommented this line as the code path can now be exercised. :)
53b5571
to
b51561e
Compare
This will be used in the following commit(s).
Now that getPrototypeMethod calls into user functions (via prototypeMethod), it's possible for these functions to call back into the same test function with the same value - and they will.
b51561e
to
2a4e265
Compare
Doctests LGTM |
5005a78
to
b5b7fe5
Compare
Closes #144