Skip to content

Commit 779fc66

Browse files
committed
Fix #4514: Add regression test
1 parent 15cff7c commit 779fc66

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pos/i4514.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
object Foo {
2+
inline def foo[X](x: X): Unit = ~fooImpl('(x))
3+
def fooImpl[X: quoted.Type](x: X): quoted.Expr[Unit] = '()
4+
}

0 commit comments

Comments
 (0)