Skip to content

Commit

Permalink
Add regression test for issue #15715
Browse files Browse the repository at this point in the history
  • Loading branch information
jchyb committed Jun 30, 2023
1 parent 8748dea commit 0ff35b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/pos/i15715.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import scala.quoted.*

def macroImpl(using Quotes) =
val expr = Expr(1)
Some((1, 2)).map { (x, y) =>
'{ ${expr} + 1 }
}

0 comments on commit 0ff35b1

Please sign in to comment.