Skip to content
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

Closed
wants to merge 3 commits into from
Closed

Refactoring langversion options in FSC #13785

wants to merge 3 commits into from

Conversation

psfinaki
Copy link
Member

closes #13749

Splitting the all-in-one flag into two clear options, similar to how we have it with some other things like target or debug.

Copy link
Member

@KevinRansom KevinRansom left a 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(
Copy link
Member

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.

image

@psfinaki psfinaki force-pushed the psfinaki/13749 branch 2 times, most recently from da99b91 to 0c172c9 Compare September 9, 2022 14:06
@psfinaki
Copy link
Member Author

Closing in favor of this.

@psfinaki psfinaki closed this Sep 12, 2022
@psfinaki psfinaki deleted the psfinaki/13749 branch September 12, 2022 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor language version behavior in FSC
3 participants