Skip to content

Commit 1854cd0

Browse files
Add regression test (#17415)
Closes #17409
2 parents 2b09bc3 + 2340979 commit 1854cd0

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)