We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e30e1b + 59a602f commit f0f8241Copy full SHA for f0f8241
sbt-dotty/sbt-test/sbt-dotty/quoted-example-project/src/main/scala/hello/Hello.scala
@@ -1,11 +1,12 @@
1
package hello
2
3
-// Import Expr and some extension methods
+// Import `Expr` and some extension methods
4
import scala.quoted._
5
+import scala.quoted.staging.{run, Toolbox}
6
7
object Main {
8
- implicit val toolbox: scala.quoted.staging.Toolbox = scala.quoted.staging.Toolbox.make(getClass.getClassLoader)
9
+ given as Toolbox = Toolbox.make(getClass.getClassLoader)
10
11
def main(args: Array[String]): Unit = {
12
0 commit comments