-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
summonFrom and using clause should act the same #12252
Comments
The purpose of |
@odersky update the code to reproduce the problem. |
If The no implicit argument error message adds:
which is potentially confusing. There is a similar question of how Scala 2 macro error reporting ought to interact with implicit search at scala/bug#12388 |
The code seems to work as intended. What did you mean by |
@nicolasstucki Oh, I forgot to close this. |
3.0.0-RC3
If a report.error in a given macro and use NotGiven to deal with it, It works with a summonFrom but compile error in a using clause.
Minimized code
MkGiven.scala:
Main.scala:
Output
Expectation
I think the using clause and summonFrom should act the same.
The text was updated successfully, but these errors were encountered: