Skip to content

Commit c764daf

Browse files
committed
Drop single case match in another test
1 parent 92a6b25 commit c764daf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/run-macros/expr-map-2/Macro_1.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ private object StringRewriter extends util.ExprMap {
1010

1111
def transform[T](e: Expr[T])(given QuoteContext, Type[T]): Expr[T] = e match
1212
case '{ ($x: Foo).x } =>
13-
'{ new Foo(4).x } match case '{ $e: T } => e
13+
'{ new Foo(4).x } match
14+
case '{ $e: T } => e
1415
case _ =>
1516
transformChildren(e)
1617

0 commit comments

Comments
 (0)