Skip to content

Commit 59a602f

Browse files
committed
Fix quoted-example-project sbt test
1 parent 0e30e1b commit 59a602f

File tree

1 file changed

+3
-2
lines changed
  • sbt-dotty/sbt-test/sbt-dotty/quoted-example-project/src/main/scala/hello

1 file changed

+3
-2
lines changed

sbt-dotty/sbt-test/sbt-dotty/quoted-example-project/src/main/scala/hello/Hello.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
package hello
22

3-
// Import Expr and some extension methods
3+
// Import `Expr` and some extension methods
44
import scala.quoted._
5+
import scala.quoted.staging.{run, Toolbox}
56

67
object Main {
78

8-
implicit val toolbox: scala.quoted.staging.Toolbox = scala.quoted.staging.Toolbox.make(getClass.getClassLoader)
9+
given as Toolbox = Toolbox.make(getClass.getClassLoader)
910

1011
def main(args: Array[String]): Unit = {
1112

0 commit comments

Comments
 (0)