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 feature flag for obj-inference diagnostic #15315

Merged
merged 2 commits into from
Jun 6, 2023

Conversation

Smaug123
Copy link
Contributor

@Smaug123 Smaug123 commented Jun 5, 2023

No actual feature is implemented; just reserving the feature flag. The feature itself is #13298 .

@Smaug123 Smaug123 requested a review from a team as a code owner June 5, 2023 20:01
@Smaug123 Smaug123 mentioned this pull request Jun 5, 2023
7 tasks
@vzarytovskii
Copy link
Member

I guess I'm a bit confused. Why does it need to be a separate PR, and not part of the feature?

@Smaug123
Copy link
Contributor Author

Smaug123 commented Jun 6, 2023

I can combine them if you like, but I'm still not confident that the feature itself is ready to go in, and I want to reduce churn on the FsComp file.

@vzarytovskii
Copy link
Member

I can combine them if you like, but I'm still not confident that the feature itself is ready to go in, and I want to reduce churn on the FsComp file.

Oh, I get it now, just to "reserve" it. It's fine that it goes first, yeah.

@psfinaki psfinaki merged commit 55e2c71 into dotnet:main Jun 6, 2023
@Smaug123 Smaug123 deleted the obj-inference-feature branch June 6, 2023 17:30
@@ -161,6 +162,7 @@ type LanguageVersion(versionText) =
LanguageFeature.ExtendedStringInterpolation, previewVersion
LanguageFeature.WarningWhenMultipleRecdTypeChoice, previewVersion
LanguageFeature.ImprovedImpliedArgumentNames, previewVersion
LanguageFeature.DiagnosticForObjInference, previewVersion
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For posterity, this precise line should probably not have gone in during this pull request, since the feature was not actually implemented yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants