-
Notifications
You must be signed in to change notification settings - Fork 91
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
Cross-build against Scala 3.0.0-M2 #265
Conversation
import qctx.tasty.{_, given _} | ||
val path = rootPosition.sourceFile.jpath.toString | ||
val startLine = rootPosition.startLine + 1 | ||
def locationImpl()(using Quotes): Expr[Location] = { |
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.
Looks like Quotes are not found, I also wonder if this will compile under previous versions? 3.0.0-M1 and 0.27.0-RC1?
I think we can drop 0.27.0-RC1, but we might need to have some campatibility utility classes after all.
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 was stupid and I didn't consider M1. Should be fixed in the latest commit
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 we should drop 0.27-RC1 in this PR though, maybe we can discuss the consequences in a different issues
798684c
to
7f2726e
Compare
Ok, since the macro API seems to be evolving across dotty and scala milestones, I've opted for splitting This is with the idea that once Scala 3 is stable we can get rid of most of them. |
7f2726e
to
8f32c5c
Compare
8f32c5c
to
3ca8ba8
Compare
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.
Thank you for fixing this! Feel free to cut a new release once merged
👍 I'll merge and cut a release and then we can discuss dropping 0.27 |
Supersedes #264
Closes #263