Skip to content

Commit 01f7a89

Browse files
committed
Update tasty imports
1 parent dad862d commit 01f7a89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/pos/scala2-macro-compat-1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ object LineNumberMacro2 {
2020
object LineNumberMacro3 {
2121
import scala.quoted._
2222
def thisLineNumberExpr(using qctx: QuoteContext): Expr[Int] = {
23-
import qctx.tasty.{_, given _}
23+
import qctx.tasty._
2424
Expr(rootPosition.startLine + 1)
2525
}
2626
}

tests/run-macros/tasty-tree-map/quoted_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ object Macros {
55
implicit inline def identityMaped[T](x: => T): T = ${ impl('x) }
66

77
def impl[T: Type](x: Expr[T])(using qctx: QuoteContext) : Expr[T] = {
8-
import qctx.tasty.{_, given _}
8+
import qctx.tasty._
99
val identityMap = new TreeMap { }
1010
val transformed = identityMap.transformTerm(x.unseal).seal.cast[T]
1111
transformed

0 commit comments

Comments
 (0)