-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add option enabling default warnings #19580
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
Conversation
3c690d3
to
84232bd
Compare
fyi @som-snytt |
Yeah, I already said |
@som-snytt We already have -Xlint for private/type param shadowing, the desc is |
The existence of |
I agree that it's strongly desirable to use I don't see a need for |
Modulo naming, I think it's nice to have a simple "here's the recommended (safe) set of warnings that are useful but not drearily painful." But it's also nice to be able to say, "Shut down ALL the garbage mashers." (Oh, they weren't "trash compactors"! Memory is so fickle.) Thanks, Seth, I will start calling it Edit: on stability, we never figured out how to do that. Lints are unstable and progress, which has caused problems for cross-compiling, especially before |
84232bd
to
6cdc2fe
Compare
Close in favor of #19843 |
Resolve #18559