Skip to content

[C#] Restrict generic type variable lookahead#4591

Merged
deathaxe merged 1 commit into
sublimehq:masterfrom
deathaxe:pr/cs/fix-generic-vs-comparator
Jul 24, 2026
Merged

[C#] Restrict generic type variable lookahead#4591
deathaxe merged 1 commit into
sublimehq:masterfrom
deathaxe:pr/cs/fix-generic-vs-comparator

Conversation

@deathaxe

Copy link
Copy Markdown
Collaborator

Resolves #4590

This commit restricts allowed characters within Generic< ... > brackets, to reduce risk of false positives.

Only common tokens of type arguments such as identifiers, whitespace, parens, angled brackets, commas and question marks are allowed.

This commit restricts allowed characters within `Generic< ... >` brackets,
to reduce risk of false positives.
@deathaxe
deathaxe merged commit 4dbdd4f into sublimehq:master Jul 24, 2026
2 checks passed
@deathaxe
deathaxe deleted the pr/cs/fix-generic-vs-comparator branch July 24, 2026 11:06
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.

[C#] Inside if Parens

4 participants