-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Cleanup our list of compiler flags #10236
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
Comments
|
It's almost the weekend, although it's hard to tell; I'll PR this, with an interest in introducing |
TODO:
|
I just submitted a first batch at #10655. In addition, here are some more thoughts:
|
I think we should try to remove it, I'm not sure it actually does anything in the one test where it's used right now.
That's still useful for making progress when trying to port code.
Yes it's not maintained so might be broken anyway.
Wow. Yes, definitely :). It's the same level of cannot-possibly-work as |
Status update: everything is done, except
I don't think the last item is critical for M3 or even for the final release. Those options should be renamed while keeping the old aliases anyway, so we won't break anything if we do it later. Therefore, I am not going to work on this, as I believe my time is better used elsewhere at the moment. @som-snytt You expressed interest in making those ports at some point. Are you still interested? |
We should go through https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala and clean it up, in particular there's a bunch of flags which don't do anything (because they were never implemented or because they were dropped) which should just be removed, there's flags which try to do something but never worked (
-Xno-value-classes
) and there are flags which don't separate words by hyphens (-noindent
). It might also be worth reclassifying some flags (if-Ysemanticdb
is officially supported it should be-Xsemanticdb
or-semanticdb
)The text was updated successfully, but these errors were encountered: