Skip to content

Conversation

@psfinaki
Copy link
Contributor

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
Contributor

@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

Some(FSComp.SR.optsGetLangVersions ())
)

CompilerOption(
Copy link
Contributor

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
Contributor 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

4 participants