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
+6-19Lines changed: 6 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ 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 = scala.quoted.Toolbox.make`\n\n")
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(getClass.getClassLoader)`\n\n")
6
6
traitToolbox {
7
7
defrun[T](expr: Expr[T]):T
8
8
defshow[T](expr: Expr[T]):String
@@ -11,25 +11,12 @@ trait Toolbox {
11
11
12
12
objectToolbox {
13
13
14
-
/** Create a new instance of the toolbox.
15
-
*
16
-
* This instance of the toolbox tries to recover the classloader of the application based on
17
-
* the classloader of the class that call make. This may not always be the correct classloader,
18
-
* in which case the classloader must be passed explicitly.
0 commit comments