## Compiler version 3.7.0-RC1-bin-20250306-73ba485-NIGHTLY ## Minimized code With `-Wunused:privates` enabled: ```scala object test { private trait Foo[A] { val value: A } private object Foo { given int: Foo[Int] = new Foo[Int] { val value = 1 } } val i = summon[Foo[Int]].value } ``` ## Output ```scala -- [E198] Unused Symbol Warning: /Users/matt/scala3.7-nightly-unused/src/main/scala/example/Test.scala:4:2 ------------- 4 | private object Foo { | ^ | unused private member ``` ## Expectation `object Foo` should not be reported unused since `given int` from it is summoned and used