Skip to content

Commit f781701

Browse files
committed
Add cached toolbox to test
1 parent 2535c2d commit f781701

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/run-with-compiler-custom-args/staged-streams_1.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import dotty.tools.dotc.quoted.Toolbox._
21
import scala.quoted._
32

43
/**
@@ -674,6 +673,8 @@ object Test {
674673
.fold('{0}, ((a: Expr[Int], b : Expr[Int]) => '{ ~a + ~b }))
675674

676675
def main(args: Array[String]): Unit = {
676+
implicit val toolbox: scala.quoted.Toolbox = dotty.tools.dotc.quoted.Toolbox.make
677+
677678
println(test1().run)
678679
println
679680
println(test2().run)

0 commit comments

Comments
 (0)