Skip to content

Commit 34f8362

Browse files
Add regression test for #15709 (#17143)
Closes #15709
2 parents ed57e32 + 36da313 commit 34f8362

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pos-macros/i15709.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import quoted.*
2+
3+
inline def foo(s: Singleton): Unit = ${ fooImpl('s) }
4+
def fooImpl(s: Expr[Singleton])(using Quotes) = '{}

0 commit comments

Comments
 (0)