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 d99d9bf commit b719fe5Copy full SHA for b719fe5
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