We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef57c2f commit 9a1b726Copy full SHA for 9a1b726
tests/run-macros/term-show/Macro_1.scala
@@ -10,9 +10,8 @@ object TypeToolbox {
10
inline def show(inline className: String): String = ${ showImpl('className) }
11
private def showImpl(className: Expr[String])(using Quotes) : Expr[String] =
12
import quotes.reflect.*
13
- val Expr(name) = className: @unchecked
+ val name = className.valueOrAbort
14
val res = Symbol.requiredClass(name).tree.show
15
- println(res)
16
Expr(res)
17
*/
18
}
0 commit comments