Skip to content

Commit 8ad520f

Browse files
test: add in a regression test for #9361 (#17486)
Closes #9361
2 parents fdbdb70 + c5badad commit 8ad520f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/pos/i9361.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// https://github.com/lampepfl/dotty/issues/9361
2+
3+
import scala.quoted._
4+
5+
trait CPM[F[_]]
6+
7+
def matchTerm(t: Expr[Any])(using qctx: Quotes): Unit =
8+
t match
9+
case '{ ??? : CPM[m2] } => ???

0 commit comments

Comments
 (0)