Skip to content

Commit 2340979

Browse files
committed
Add regression test
Closes #17409
1 parent d02ecd0 commit 2340979

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/pos-macros/i17409.scala

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import scala.quoted.*
2+
3+
transparent inline def thing =
4+
${ thingImpl }
5+
6+
def thingImpl(using Quotes): Expr[Any] =
7+
'{
8+
def makeThing: { def me: this.type } = ???
9+
makeThing
10+
}

0 commit comments

Comments
 (0)