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.
2 parents cec9aa3 + b916d93 commit 9be5a34Copy full SHA for 9be5a34
tests/pos-macros/i9891.scala
@@ -0,0 +1,7 @@
1
+import scala.quoted._
2
+import scala.deriving.Mirror
3
+def derived[T: Type](using Quotes): Expr[Any] = {
4
+ val ev1: Expr[Mirror.Of[T]] = Expr.summon[Mirror.Of[T]].get
5
+ val ev2: Expr[Mirror.Of[T]] = Expr.summon(using Type.of[Mirror.Of[T]]).get
6
+ '{null}
7
+}
0 commit comments