Skip to content
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

Merged
merged 3 commits into from
Dec 17, 2020

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Dec 17, 2020

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

@tgodzik tgodzik requested review from gabro and olafurpg December 17, 2020 12:08
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)
Copy link
Contributor Author

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

build.sbt Outdated Show resolved Hide resolved
Copy link
Member

@gabro gabro left a 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!

@larsrh
Copy link
Contributor

larsrh commented Dec 17, 2020

1.15.2 is promoting to Maven Central right now

build.sbt Outdated Show resolved Hide resolved
@tgodzik tgodzik force-pushed the add-support-for-3.0.0-M3 branch from a8d2a71 to 8034155 Compare December 17, 2020 14:07
@tgodzik tgodzik merged commit ca98bda into scalameta:master Dec 17, 2020
@tgodzik tgodzik deleted the add-support-for-3.0.0-M3 branch December 17, 2020 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants