You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: library/src/scala/quoted/Toolbox.scala
+49-1Lines changed: 49 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,56 @@ package scala.quoted
2
2
3
3
importscala.annotation.implicitNotFound
4
4
5
-
@implicitNotFound("Could not find implicit quoted.Toolbox.\n\nDefault toolbox can be instantiated with:\n `implicit val toolbox: scala.quoted.Toolbox = dotty.tools.dotc.quoted.Toolbox.make`\n\nIf only needed once it can also be imported with:\n `import dotty.tools.dotc.quoted.Toolbox._`")
5
+
@implicitNotFound("Could not find implicit quoted.Toolbox.\n\nDefault toolbox can be instantiated with:\n `implicit val toolbox: scala.quoted.Toolbox = scala.quoted.Toolbox.make`\n\nIf only needed once it can also be imported with:\n `import scala.quoted.Toolbox.Default._`")
6
6
traitToolbox {
7
7
defrun[T](expr: Expr[T]):T
8
8
defshow[T](expr: Expr[T]):String
9
9
}
10
+
11
+
objectToolbox {
12
+
13
+
objectDefault {
14
+
// TODO remove? It may be better to only have one way to instantiate the toolbox
0 commit comments