Skip to content

Commit c629090

Browse files
authored
Add regression test for issue #15715 (#18105)
Closes #15715 Also seems fixed in 3.3.1-RC1
2 parents b95c968 + 0ff35b1 commit c629090

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)