Skip to content

Commit f0f8241

Browse files
authored
Merge pull request #7091 from dotty-staging/fix-sbt-test
Fix quoted-example-project sbt test
2 parents 0e30e1b + 59a602f commit f0f8241

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

+3-2
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)