You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current handling of Inlined is clearly wrong. This is still gray area, but the idea is that inlined code can resolve references but not introduce new definitions which may go unused.
But the expanded tree is just int and not Foo.int, so the lint doesn't see the selection (!).
Compiler version
3.7.0-RC1-bin-20250306-73ba485-NIGHTLY
Minimized code
With
-Wunused:privates
enabled:Output
Expectation
object Foo
should not be reported unused sincegiven int
from it is summoned and usedThe text was updated successfully, but these errors were encountered: