Skip to content

Commit bbe88d1

Browse files
committed
Fix transparent -> rewrite
...in new code added through rebase
1 parent aa96f35 commit bbe88d1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/pos/i4734/Macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import scala.annotation.tailrec
22
import scala.quoted._
33

44
object Macros {
5-
transparent def unrolledForeach(f: Int => Int): Int =
5+
rewrite def unrolledForeach(f: Int => Int): Int =
66
~unrolledForeachImpl('(f))
77

88
def unrolledForeachImpl(f: Expr[Int => Int]): Expr[Int] = '{

tests/run/i4734/Macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import scala.annotation.tailrec
22
import scala.quoted._
33

44
object Macros {
5-
transparent def unrolledForeach(seq: IndexedSeq[Int], f: => Int => Unit, transparent unrollSize: Int): Unit = // or f: Int => Unit
5+
rewrite def unrolledForeach(seq: IndexedSeq[Int], f: => Int => Unit, transparent unrollSize: Int): Unit = // or f: Int => Unit
66
~unrolledForeachImpl('(seq), '(f), unrollSize)
77

88
def unrolledForeachImpl(seq: Expr[IndexedSeq[Int]], f: Expr[Int => Unit], unrollSize: Int): Expr[Unit] = '{

tests/run/tasty-definitions-2/Macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import scala.tasty._
33

44
object Foo {
55

6-
transparent def inspectBody(i: => Int): String =
6+
rewrite def inspectBody(i: => Int): String =
77
~inspectBodyImpl('(i))(TopLevelSplice.tastyContext) // FIXME infer TopLevelSplice.tastyContext within top level ~
88

99
def inspectBodyImpl(x: Expr[Int])(implicit tasty: Tasty): Expr[String] = {

tests/run/tasty-definitions-3/Macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import scala.tasty._
33

44
object Foo {
55

6-
transparent def inspectBody(i: => Int): String =
6+
rewrite def inspectBody(i: => Int): String =
77
~inspectBodyImpl('(i))(TopLevelSplice.tastyContext) // FIXME infer TopLevelSplice.tastyContext within top level ~
88

99
def inspectBodyImpl(x: Expr[Int])(implicit tasty: Tasty): Expr[String] = {

0 commit comments

Comments
 (0)