Skip to content

Commit ebd2e22

Browse files
committed
Fix scala#4773: Add regression test
1 parent 45641b7 commit ebd2e22

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/i4773.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import scala.quoted._
2+
object Foo {
3+
inline def foo2(): Unit = ~foo2Impl()
4+
def foo2Impl(): Expr[Unit] = '()
5+
inline def foo(): Unit = foo2()
6+
}

0 commit comments

Comments
 (0)