Skip to content

Commit 0ff35b1

Browse files
committed
Add regression test for issue #15715
1 parent 8748dea commit 0ff35b1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/pos/i15715.scala

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import scala.quoted.*
2+
3+
def macroImpl(using Quotes) =
4+
val expr = Expr(1)
5+
Some((1, 2)).map { (x, y) =>
6+
'{ ${expr} + 1 }
7+
}

0 commit comments

Comments
 (0)