-
Notifications
You must be signed in to change notification settings - Fork 531
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
Make shapeless.the respect @implicitNotFound (Fix #671) #672
Conversation
Current coverage is 81.56% (diff: 100%)@@ master #672 diff @@
==========================================
Files 69 69
Lines 2641 2641
Methods 2375 2375
Messages 0 0
Branches 92 92
==========================================
Hits 2154 2154
Misses 487 487
Partials 0 0
|
Great stuff! I think that |
I removed the conditional and left an assert call instead |
Thanks! I think the assert should go though ... it's not validating any logic of ours, so doesn't really belong here. |
Sorry to keep chiselling away on this ... would you mind adding a test which verifies that |
Bump ... I'll merge as soon as the additional test has been added. |
Thank you. |
Don't know how to test the error message |
Add a test of the form, val foo = ...
foo: <type including refinement> This will verify that the inferred type of |
This PR only changes the error message. How to test if the error message is expected? |
Whoops! Sorry, I'm confusing PRs :-) You should be able to use Please also squash the resulting commits. |
I am not sure this does what it's expected to do (according to #671): type Foo = the.`Ordering[Set[Int]]`.Ops
error: exception during macro expansion:
scala.reflect.macros.TypecheckException: implicit search has failed. to find out the reason, turn on -Xlog-implicits expected error: No implicit Ordering defined for Set[Int] |
I don't want to hijack this PR but I do have a working one if interested. See #742 |
No description provided.