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 4cdd19b + b719fe5 commit 4eaa5d9Copy full SHA for 4eaa5d9
tests/pos-macros/i16265.scala
@@ -0,0 +1,9 @@
1
+import scala.quoted.*
2
+
3
+class Foo(val value: Int)
4
5
+def foo(exprs: Expr[Any])(using Quotes): Any =
6
+ exprs match
7
+ case '{ $tuple: (Foo *: tail) } =>
8
+ val x = '{ ${tuple}.head.value }
9
+ ???
0 commit comments