Skip to content

Commit

Permalink
more cleanup of debug output in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rssh committed Apr 14, 2024
1 parent 9d9d914 commit 89a55f8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions compiler-plugin/testdata/set15pe/m5/TestFizzBuzzM5.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class TestFizzBuzzM5:


@Test def testFizBuzz =
implicit val printCode = cps.macros.flags.PrintCode
implicit val debugLevel = cps.macros.flags.DebugLevel(20)
//implicit val printCode = cps.macros.flags.PrintCode
//implicit val debugLevel = cps.macros.flags.DebugLevel(20)
val c = async[PureEffect] {
val logger = PEToyLogger.make()
val counter = PureEffect.inlineDirectIntRef(-1)
Expand Down
4 changes: 2 additions & 2 deletions compiler-plugin/testdata/set15pe/m6/TestFizzBuzzM6.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class TestFizzBuzzM6:


def runFizBuzz(using CpsDirect[PureEffect]): Vector[String] =
implicit val printCode = cps.macros.flags.PrintCode
implicit val debugLevel = cps.macros.flags.DebugLevel(20)
//implicit val printCode = cps.macros.flags.PrintCode
//implicit val debugLevel = cps.macros.flags.DebugLevel(20)
val logger = PEToyLogger.make()
val counter = PureEffect.inlineDirectIntRef(-1)
while {
Expand Down
4 changes: 2 additions & 2 deletions compiler-plugin/testdata/set15pe/m7/TestFizzBuzzM7.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class TestFizzBuzzM7:


def runFizBuzz(using CpsDirect[PureEffect]): Vector[String] =
implicit val printCode = cps.macros.flags.PrintCode
implicit val debugLevel = cps.macros.flags.DebugLevel(20)
//implicit val printCode = cps.macros.flags.PrintCode
//implicit val debugLevel = cps.macros.flags.DebugLevel(20)
val logger = PEToyLogger.make()
val counter = PureEffect.directIntRef(-1)
while {
Expand Down
4 changes: 2 additions & 2 deletions compiler-plugin/testdata/set15pe/m9/TestExtDirectRefM9.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class TestExtDirectRefM9:


def runExtDirectRef(): PureEffect[String] = {
implicit val printCode = cps.macros.flags.PrintCode
implicit val debugLevel = cps.macros.flags.DebugLevel(20)
//implicit val printCode = cps.macros.flags.PrintCode
//implicit val debugLevel = cps.macros.flags.DebugLevel(20)
async[PureEffect] {
//val logger = PEToyLogger.make()
val vs = PureEffect.directRef("AAAa")
Expand Down

0 comments on commit 89a55f8

Please sign in to comment.