-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #10466: Update rootPosition
to Position.ofMacroExpansion
#10467
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
Conversation
We need to fix this one to be able to publish 3.0.0-M2 |
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
In order to get the test to pass locally, I had to give a name to the context parameter: diff --git a/sbt-dotty/sbt-test/source-dependencies/macro-expansion-dependencies-2/changes/MacroRuntimeRuntimeError.scala b/sbt-dotty/sbt-test/source-dependencies/macro-expansion-dependencies-2/changes/MacroRuntimeRuntimeError.scala
index caa79c3d24..e917a255af 100644
--- a/sbt-dotty/sbt-test/source-dependencies/macro-expansion-dependencies-2/changes/MacroRuntimeRuntimeError.scala
+++ b/sbt-dotty/sbt-test/source-dependencies/macro-expansion-dependencies-2/changes/MacroRuntimeRuntimeError.scala
@@ -2,7 +2,7 @@ import scala.quoted._
object MacroRuntime {
- def impl()(using Quotes): Expr[Unit] = {
+ def impl()(using q: Quotes): Expr[Unit] = {
'{ ??? }
}
I have no idea why that makes a difference here. |
That changes the signature in one of the steps, which may trigger the incremental compilation recompile more. |
Ah, that must be it. Adding a |
e7f6240
to
d66b9ba
Compare
This means that there was a regression in the incremental compilation of macros. I added the @liufengyun could you have a last look at the changes I added? |
It looks good to me. |
d66b9ba
to
fa42e3c
Compare
It looks like 80ed86a is the first commit to fail |
fa42e3c
to
d265a86
Compare
[test_sbt]