Spurious unused private member
warning on type with parameters used in abstract refined type
#19998
Labels
area:linting
Linting warnings enabled with -W or -Xlint
area:reporting
Error reporting including formatting, implicit suggestions, etc
itype:bug
Compiler version
3.3.3, 3.4.0, and the latest nightly 3.4.2-RC1-bin-20240320-0ea0eba-NIGHTLY
Minimized code
Output
Expectation
SelfX
should not be reported as unused. Interestingly, the warning goes away ifX
does not have type parameters.The text was updated successfully, but these errors were encountered: