## Compiler version any ## Minimized code Run with `-deprecation` ```Scala import scala.quoted._ @deprecated object A object Test { inline def test() = ${testImpl} def testImpl(using Quotes): Expr[Any] = import quotes.reflect._ Ref(Symbol.classSymbol("A$").companionModule).asExpr } ``` ```scala @main def main() = Test.test() ``` ## Output ```scala -- Deprecation Warning: depr2.scala:4:46 --------------------------------------- 4 | | ^^^^^^^^^^^ | object A is deprecated ``` ## Expectation Point the warning to the callsite., message could also probably be improved