Skip to content

Commit 311f510

Browse files
committed
Add regression test
Closes scala#13732
1 parent ece9400 commit 311f510

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos-macros/i13732.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import scala.quoted.*
2+
3+
def generateImpl(using q: Quotes): Expr[Unit] =
4+
'{ def runEffect[T]: T = ${ runEffectImpl[T] } }
5+
6+
inline def runEffectImpl[T: Type]: Expr[T] = ???

0 commit comments

Comments
 (0)