Skip to content

Commit 5029642

Browse files
committed
Fix merged tests
1 parent d9263e6 commit 5029642

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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] = '{

0 commit comments

Comments
 (0)