Skip to content

[BG 2.3.0] – Grammar checker tooling updates #1284

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

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

Nigel-Ecma
Copy link
Contributor

• Fixup to handle is properly for v8; is will change in v9 and hopefully not require a fixup
• Add support for disambiguation of type_argument_list within a query_expression
• Add (semantically nonsensical) sample to test the above

• Handle `is` properly for v8, will change in v9 and hopefully not require fixup
• Add support for disambiguation of type_argument_list with a query_expression
• Add (nonsensical) sample to test the above
@Nigel-Ecma Nigel-Ecma added this to the C# 8.0 milestone Mar 7, 2025
@Nigel-Ecma Nigel-Ecma requested review from jskeet and BillWagner March 7, 2025 22:20
@Nigel-Ecma Nigel-Ecma self-assigned this Mar 7, 2025
@Nigel-Ecma
Copy link
Contributor Author

If you’re considering reviewing this you may be daunted by the large number of files impacted, and what is in them, however you may ignore:

  • All the files in the “Reference” folders. These are generated by tools from the other files. That gets rid of lots of files with hard to review/unrecognisable text in them :-)
  • The “GrammarTestingEnv.tgz” file. This contains the grammar checker binaries and test framework. If this PR passes the grammar checker (it does) then this file is fine. Reviewing what goes into this file is done in another repo.

That leaves you with the *.cs files – the tests themselves and the comments in those files stating what they are expected to be recognised as; and the *.md files (usually readmes for the tests).

So when you visit the Files changed tab you can option-click (or whatever that is in your OS/browser) the first file’s disclosure triangle to collapse them all and then just open those for the *.cs & *.md files.

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

Thanks for the roadmap @Nigel-Ecma

That did make the reviewing task a lot easier.

This LGTM. Once Jon gets a good look, let's :shipit:

@jskeet
Copy link
Contributor

jskeet commented Mar 10, 2025

I'm still recovering (in terms of time) from a separate urgent project - Bill, unless there's anything specific you'd like me to review, I'm happy for it to just be merged, if you've reviewed it. (I'm hoping to put my time into reviewing the Word converter problem Nigel reported.)

@BillWagner BillWagner merged commit 22a5775 into dotnet:draft-v8 Mar 10, 2025
5 checks passed
@Nigel-Ecma Nigel-Ecma deleted the BG-2.3.0 branch March 10, 2025 20:08
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.

3 participants