Skip to content

Commit

Permalink
Add regression test for issue #15715 (#18105)
Browse files Browse the repository at this point in the history
Closes #15715 
Also seems fixed in 3.3.1-RC1
  • Loading branch information
Kordyjan committed Jun 30, 2023
2 parents b95c968 + 0ff35b1 commit c629090
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 c629090

Please sign in to comment.