Skip to content

Commit b5bc641

Browse files
committed
Drop import delegate in tests
1 parent 6b73bbd commit b5bc641

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

staging/src/scala/quoted/staging/Toolbox.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package staging
33

44
import scala.annotation.implicitNotFound
55

6-
@implicitNotFound("Could not find implicit scala.quoted.staging.Toolbox.\n\nDefault toolbox can be instantiated with:\n `delegate for scala.quoted.staging.Toolbox = scala.quoted.staging.Toolbox.make(getClass.getClassLoader)`\n\n")
6+
@implicitNotFound("Could not find implicit scala.quoted.staging.Toolbox.\n\nDefault toolbox can be instantiated with:\n `given scala.quoted.staging.Toolbox = scala.quoted.staging.Toolbox.make(getClass.getClassLoader)`\n\n")
77
trait Toolbox {
88
def run[T](expr: QuoteContext => Expr[T]): T
99
}
@@ -15,7 +15,7 @@ object Toolbox {
1515
* Usuage:
1616
* ```
1717
* import scala.quoted.staging._
18-
* delegate for Toolbox = Toolbox.make(getClass.getClassLoader)
18+
* given Toolbox = Toolbox.make(getClass.getClassLoader)
1919
* ```
2020
*
2121
* @param appClassloader classloader of the application that generated the quotes

tests/neg-macros/i6976/Macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package playground
22

33
import scala.quoted._, scala.quoted.matching._
4-
import delegate scala.quoted._
4+
import scala.quoted.given
55
import scala.tasty._
66

77
object macros {

tests/pos-macros/i7011/Macros_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import scala.quoted._, scala.quoted.matching._
2-
import delegate scala.quoted._
2+
import scala.quoted.given
33

44
inline def mcr(body: => Any): Unit = ${mcrImpl('body)}
55

tests/run-macros/i6765-c/Macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import scala.quoted._
2-
import delegate scala.quoted._
2+
import scala.quoted.given
33

44
inline def foo(inline n: Int) = ${fooImpl(n)}
55

tests/run-macros/i7008/macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import scala.quoted._, scala.quoted.matching._
2-
import delegate scala.quoted._
2+
import scala.quoted.given
33
import scala.tasty._
44

55
case class Box[T](v: T)

tests/run-macros/quote-toExprOfSeq/Macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import scala.quoted._
2-
import delegate scala.quoted._
2+
import scala.quoted.given
33

44
inline def seq = ${fooImpl}
55

tests/run-staging/i6992/Macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
import scala.quoted._, scala.quoted.matching._
33
import scala.quoted.staging._
4-
import delegate scala.quoted._
4+
import scala.quoted.given
55

66
given Toolbox = Toolbox.make(getClass.getClassLoader)
77

0 commit comments

Comments
 (0)