Skip to content

Commit

Permalink
Fix merged tests
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Aug 15, 2018
1 parent d9263e6 commit 5029642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/pos/i4734/Macro_1.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import scala.annotation.tailrec
import scala.quoted._

object Macros {
transparent def unrolledForeach(f: Int => Int): Int =
rewrite def unrolledForeach(f: Int => Int): Int =
~unrolledForeachImpl('(f))

def unrolledForeachImpl(f: Expr[Int => Int]): Expr[Int] = '{
Expand Down
2 changes: 1 addition & 1 deletion tests/run/i4734/Macro_1.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import scala.annotation.tailrec
import scala.quoted._

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

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

0 comments on commit 5029642

Please sign in to comment.