Skip to content

Commit fd4676b

Browse files
committed
Make sure we still parse arbitrary expressions nested
1 parent e63223d commit fd4676b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pos/splice-pat.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ def oneLevel(expr: Expr[Any])(using Quotes): Expr[Int] = expr match
1515
case '{ foo(${MyMatcher(y@MyMatcher2())}) } => y
1616

1717
def twoLevel(expr: Expr[Any])(using Quotes): Expr[Int] = expr match
18-
case '{ foo(${MyMatcher('{ bar(${y@MyMatcher2()})}) }) } => y
18+
case '{ foo(${MyMatcher('{ bar(${y@MyMatcher2()}).getClass}) }) } => y

0 commit comments

Comments
 (0)