Skip to content

Commit 866d6ab

Browse files
committed
Add regression test
1 parent c13fac8 commit 866d6ab

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/neg/i7052b.scala

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import scala.quoted._
2+
class Test {
3+
def foo(str: String) given QuoteContext = '{
4+
delegate for QuoteContext = ???
5+
'{
6+
@deprecated(str, "") // error
7+
def bar = ???
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)