Skip to content

Commit 02baf33

Browse files
noti0na1WojciechMazur
authored andcommitted
Remove unnecessary implicit in test
1 parent 0a2ba30 commit 02baf33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/explicit-nulls/run/tasty-flexible-type/quoted_1.scala

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import scala.quoted.*
22

33
object Macros {
44

5-
implicit inline def printTree[T](inline x: T): Unit =
5+
inline def printTree[T](inline x: T): Unit =
66
${ impl('x) }
77

8-
def impl[T](x: Expr[T])(using Quotes) : Expr[Unit] = {
8+
def impl[T](x: Expr[T])(using Quotes): Expr[Unit] = {
99
import quotes.reflect.*
1010

1111
val tree = x.asTerm
@@ -19,9 +19,9 @@ object Macros {
1919
}
2020
}
2121

22-
inline def theTestBlock : Unit = ${ theTestBlockImpl }
22+
inline def theTestBlock: Unit = ${ theTestBlockImpl }
2323

24-
def theTestBlockImpl(using qctx : Quotes) : Expr[Unit] = {
24+
def theTestBlockImpl(using Quotes): Expr[Unit] = {
2525
import quotes.reflect.*
2626

2727
val ft1 = FlexibleType(TypeRepr.of[String])

0 commit comments

Comments
 (0)