unused annotation does not silence warning in given using with shorthand #23033
Labels
area:annotations
area:implicits
related to implicits
area:linting
Linting warnings enabled with -W or -Xlint
itype:bug
regression
This worked in a previous version but doesn't anymore
Compiler version
3.7.0-RC3
Minimized code
Output
Compiled using
-Wunused:all
Expectation
@unused should silence the warning as it does in other cases.
For example changing the code to
works as expected.
The text was updated successfully, but these errors were encountered: