Skip to content

Commit 49408ed

Browse files
committed
address easy cr comments
1 parent 1ad7c7f commit 49408ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/run-macros/term-show/Macro_1.scala

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ object TypeToolbox {
44
inline def show(inline className: String): String = ${ showImpl('className) }
55
private def showImpl(className: Expr[String])(using Quotes) : Expr[String] =
66
import quotes.reflect.*
7-
val Expr(name) = className: @unchecked
7+
val name = className.valueOrAbort
88
val res = Symbol.requiredClass(name).tree.show
9-
println(res)
109
Expr(res)
1110
}

0 commit comments

Comments
 (0)