New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spurious "private default argument... is never used" warning with -Xlint #7707
Comments
Imported From: https://issues.scala-lang.org/browse/SI-7707?orig=1 |
@retronym said: |
@som-snytt said (edited on Sep 16, 2016 5:48:16 PM UTC): It probably shouldn't warn about the synthetic member anyway. Edit: The warning intentionally warns about unused default getters. One can also ask whether the apply defaults should forward to the ctor defaults. |
@som-snytt said: |
@adriaanm said: |
This issue is still present in 2.12.4 (and 2.12.x shortly before 2.12.5). |
I don't remember why that commit didn't make it onto the slow train of warning fixes. I'll take a look during some relaxing weekend at the beach when I have nothing better to do. |
This was not a relaxing weekend, but I had nothing better to do. Note that there is no way to mark a default arg |
gives (in 2.11.0-M4)
but it is; it's used from the companion object.
The text was updated successfully, but these errors were encountered: