Skip to content

Commit 70a262d

Browse files
jchybKordyjan
authored andcommitted
Add regression test for issue #15715
[Cherry-picked 0ff35b1]
1 parent e22d249 commit 70a262d

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)