-
Notifications
You must be signed in to change notification settings - Fork 90
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
Enable -Xlint and -Werror #461
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 Thank you for this contribution! I pushed an empty commit to trigger the CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking a look. OK, less-fatal warnings. Ideally there would be a turn-key or push-button way to enable that only for continuous integration later in the workflow. I see I added some Edit: I don't see warnings with The Locally,
Edit: I see there is |
ae8b86e
to
eff270d
Compare
Tweaked the scalafix task to use current 2.12. That didn't help warnings, so 2.12. scalac options avoid warning. Probably scalacenter/sbt-scalafix#262 showing mangling of Now I've lost the doc command that failed, so I haven't reproduced that. |
Linting on 2.13, but difficult to align 3.x. Can't use unused annotation 2.12.
62ded8d
to
e6f3dff
Compare
Further exploration of perils of crossbuilding with lints. |
Linting on 2.13 such as required empty args,
inferred Any in sameElements of Array[_],
Timeout is double-valued, avoid Any.equals,
some elements unused, deprecations.
Allow JavaConverters.
Can't use nowarn and unused annotations
under 2.11/2.12.