Skip to content

Commit 69df5ba

Browse files
authored
Backport "Add regression test for issue #15715" to LTS (#19053)
Backports #18105 to the LTS branch. PR submitted by the release tooling. [skip ci]
2 parents 2f65661 + 41a8d29 commit 69df5ba

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/pos/i15715.scala

Lines changed: 7 additions & 0 deletions
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)