-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add support for Scala 3.0.0-M3 #279
Conversation
def clueImpl[T: Type](value: Expr[T])(using Quotes): Expr[Clue[T]] = { | ||
import quotes.reflect._ | ||
val source = Term.of(value).pos.sourceCode.getOrElse("") | ||
val valueType = TypeTree.of[T].show(using Printer.TreeShortCode) |
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.
This will print type without the package. This and one line above is the only real change for 3.0.0-M3
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.
LGTM, apart from the Scalacheck issue for which I'd wait for the new release
Thanks @tgodzik!
1.15.2 is promoting to Maven Central right now |
a8d2a71
to
8034155
Compare
It seems that scalacheck was wrongly released for 1.5.1, which is not an existing version, so I needed to go around it for now. The issue is tracked under typelevel/scalacheck#732
I also unignored some tests thanks to recent changes for show methods and dropped 0.27.0-RC1