From 59a602f4b1e2dc553ea5b1b9fdf1a8bc254d2c39 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Fri, 23 Aug 2019 08:37:58 +0200 Subject: [PATCH] Fix quoted-example-project sbt test --- .../quoted-example-project/src/main/scala/hello/Hello.scala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sbt-dotty/sbt-test/sbt-dotty/quoted-example-project/src/main/scala/hello/Hello.scala b/sbt-dotty/sbt-test/sbt-dotty/quoted-example-project/src/main/scala/hello/Hello.scala index 24e3146df076..33e64afb763b 100644 --- a/sbt-dotty/sbt-test/sbt-dotty/quoted-example-project/src/main/scala/hello/Hello.scala +++ b/sbt-dotty/sbt-test/sbt-dotty/quoted-example-project/src/main/scala/hello/Hello.scala @@ -1,11 +1,12 @@ package hello -// Import Expr and some extension methods +// Import `Expr` and some extension methods import scala.quoted._ +import scala.quoted.staging.{run, Toolbox} object Main { - implicit val toolbox: scala.quoted.staging.Toolbox = scala.quoted.staging.Toolbox.make(getClass.getClassLoader) + given as Toolbox = Toolbox.make(getClass.getClassLoader) def main(args: Array[String]): Unit = {