-
Notifications
You must be signed in to change notification settings - Fork 802
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
Refactoring langversion options in FSC #13785
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.
We should talk
None, | ||
Some(FSComp.SR.optsGetLangVersions ()) | ||
) | ||
|
||
CompilerOption( |
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.
So the original goal was to match the semantics implemented by the C# compilers lang version switch:
as you can see -langversion is invalid and --langversion:? returns the list
It may not be the end of the world to make the change, but in general we try to keep things similarly between the products when both implement them.
da99b91
to
0c172c9
Compare
0c172c9
to
f6b8031
Compare
Closing in favor of this. |
closes #13749
Splitting the all-in-one flag into two clear options, similar to how we have it with some other things like
target
ordebug
.