You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After changing the body of def transform, Test.scala is not recompiled.
This is obviously a very simple example, but I've been able to reproduce the same issue with more complex code where I'm changing how the definition is transformed.
Compiler version
3.6.4 and latest nightly 3.7.1-RC1-bin-20250413-5b4b5c2-NIGHTLY
Minimized code
https://github.com/mrdziuban/scala3-macro-annotation-incremental-compilation
After changing the body of
def transform
,Test.scala
is not recompiled.This is obviously a very simple example, but I've been able to reproduce the same issue with more complex code where I'm changing how the
definition
is transformed.Output
On first compile:
On second compile, after changing the
println
:Expectation
Test.scala
should be recompiled since it may now be transformed differently byannot
.The text was updated successfully, but these errors were encountered: