Skip to content

Commit 9734709

Browse files
committed
Add workarround test
1 parent c042571 commit 9734709

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/pos/i7264c.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import scala.quoted._
2+
class Foo {
3+
def f[T2: Type](e: Expr[T2])(given QuoteContext) = e match {
4+
case '{ $x: $t0 } =>
5+
t0 match
6+
case '[ *:[Int, $t] ] =>
7+
'[ *:[Int, $t] ]
8+
}
9+
}

0 commit comments

Comments
 (0)