We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a2ba30 commit 02baf33Copy full SHA for 02baf33
tests/explicit-nulls/run/tasty-flexible-type/quoted_1.scala
@@ -2,10 +2,10 @@ import scala.quoted.*
2
3
object Macros {
4
5
- implicit inline def printTree[T](inline x: T): Unit =
+ inline def printTree[T](inline x: T): Unit =
6
${ impl('x) }
7
8
- def impl[T](x: Expr[T])(using Quotes) : Expr[Unit] = {
+ def impl[T](x: Expr[T])(using Quotes): Expr[Unit] = {
9
import quotes.reflect.*
10
11
val tree = x.asTerm
@@ -19,9 +19,9 @@ object Macros {
19
}
20
21
22
- inline def theTestBlock : Unit = ${ theTestBlockImpl }
+ inline def theTestBlock: Unit = ${ theTestBlockImpl }
23
24
- def theTestBlockImpl(using qctx : Quotes) : Expr[Unit] = {
+ def theTestBlockImpl(using Quotes): Expr[Unit] = {
25
26
27
val ft1 = FlexibleType(TypeRepr.of[String])
0 commit comments