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

Address prototype comments in file types branch #62335

Merged
merged 10 commits into from
Jul 5, 2022

Conversation

RikkiGibson
Copy link
Contributor

Related to #60819

@RikkiGibson RikkiGibson requested a review from a team as a code owner July 1, 2022 21:50
@cston

This comment was marked as resolved.

@RikkiGibson RikkiGibson requested review from cston, a team and jcouv July 2, 2022 00:04
@cston

This comment was marked as resolved.

@RikkiGibson

This comment was marked as resolved.

@RikkiGibson RikkiGibson requested review from a team as code owners July 5, 2022 14:36
@@ -427,3 +427,16 @@ class @required {} // No error
This was done as `required` is now a member modifier for properties and fields.

You can learn more about this change in the associated [csharplang issue](https://github.com/dotnet/csharplang/issues/3630).

## Types cannot be named `file`
Copy link
Member

Choose a reason for hiding this comment

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

Please place the new entry at the top. We changed the order when mirroring process to docs.microsoft.com started (was done in #60260)

""",
expectedBindingDiagnostics: new[]
{
// (1,7): error CS9056: Types and aliases cannot be named 'file'.
Copy link
Member

Choose a reason for hiding this comment

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

Let's also test this scenario (type named "file") with C# 10

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

LGTM Thanks (iteration 8) modulo fixing the order in breaking changes

@RikkiGibson
Copy link
Contributor Author

Verified that the most recent changes pass locally and will verify in CI when merging to main.

@RikkiGibson RikkiGibson enabled auto-merge (squash) July 5, 2022 18:24
@RikkiGibson RikkiGibson disabled auto-merge July 5, 2022 18:24
@RikkiGibson RikkiGibson merged commit 730e0d6 into dotnet:features/file-types Jul 5, 2022
@RikkiGibson RikkiGibson deleted the ft-prototype branch July 5, 2022 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants