Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Private types trigger false positive with -Ywarn-unused:-privates #11387
The other example from the other ticket:
I don't know if it's the same symptom. I see
Edit: the other ticket was arguably about interaction with macros, but a better mechanism would probably address both bugs.
I see that @som-snytt already chimed in, but it was his suggestion at the bottom of #10313 that prompted my opening this issue. I have run into the issue multiple times in sbt which has both -Xfatal-warnings and -Ywarn-unused:-private set. I'd have no problem with unifying the two issues either in #10313 itself or a new issue.