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

Add support for required keyword #10021

Merged
merged 5 commits into from
Jul 15, 2022
Merged

Add support for required keyword #10021

merged 5 commits into from
Jul 15, 2022

Conversation

ericstj
Copy link
Member

@ericstj ericstj commented Jul 14, 2022

Best reviewed commit-by-commit.

This adds support for the required keyword into GenApi and then also makes GenFacades honor LangVersion and use the compiler version that the project is already using (similar to what we do for new API Compat).

This should fix dotnet/runtime#71559

ViktorHofer
ViktorHofer previously approved these changes Jul 14, 2022
Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me. Approving, assuming that you tested this for dotnet/runtime locally.

@ericstj
Copy link
Member Author

ericstj commented Jul 14, 2022

I did test locally but will push up a draft PR to test in dotnet/runtime across the larger CI matrix to make sure nothing funny is going on.

@ericstj
Copy link
Member Author

ericstj commented Jul 15, 2022

Here's the test PR: dotnet/runtime#72233

Copy link
Member

@333fred 333fred left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generation changes LGTM. I did not review the other changes.

@ericstj ericstj merged commit 4448bc4 into dotnet:main Jul 15, 2022
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.

required and GenerateReferenceAssemblySource
3 participants