We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9299577 commit ef22195Copy full SHA for ef22195
tests/run/i4515/Macro_1.scala
@@ -1,5 +1,5 @@
1
2
object Macro {
3
- transparent def foo[X](x: X): Unit = ~fooImpl('(x))
+ rewrite def foo[X](x: X): Unit = ~fooImpl('(x))
4
def fooImpl[X: quoted.Type](x: quoted.Expr[X]): quoted.Expr[Unit] = '()
5
}
tests/run/i4515b/Macro_1.scala
@@ -1,6 +1,6 @@
import scala.tasty.Tasty
- transparent def foo: Unit = ~fooImpl
+ rewrite def foo: Unit = ~fooImpl
def fooImpl(implicit tasty: Tasty): quoted.Expr[Unit] = '()
6
0 commit comments