File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/explicit-nulls/run/tasty-flexible-type Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import scala.quoted.*
2
2
3
3
object Macros {
4
4
5
- implicit inline def printTree [T ](inline x : T ): Unit =
5
+ inline def printTree [T ](inline x : T ): Unit =
6
6
$ { impl(' x ) }
7
7
8
- def impl [T ](x : Expr [T ])(using Quotes ) : Expr [Unit ] = {
8
+ def impl [T ](x : Expr [T ])(using Quotes ): Expr [Unit ] = {
9
9
import quotes .reflect .*
10
10
11
11
val tree = x.asTerm
@@ -19,9 +19,9 @@ object Macros {
19
19
}
20
20
}
21
21
22
- inline def theTestBlock : Unit = $ { theTestBlockImpl }
22
+ inline def theTestBlock : Unit = $ { theTestBlockImpl }
23
23
24
- def theTestBlockImpl (using qctx : Quotes ) : Expr [Unit ] = {
24
+ def theTestBlockImpl (using Quotes ): Expr [Unit ] = {
25
25
import quotes .reflect .*
26
26
27
27
val ft1 = FlexibleType (TypeRepr .of[String ])
You can’t perform that action at this time.
0 commit comments