Skip to content

[Compiler fix pattern]pattern#985

Closed
Jim8y wants to merge 2 commits intoneo-project:masterfrom
Jim8y:pattern
Closed

[Compiler fix pattern]pattern#985
Jim8y wants to merge 2 commits intoneo-project:masterfrom
Jim8y:pattern

Conversation

@Jim8y
Copy link
Contributor

@Jim8y Jim8y commented Mar 6, 2024

No description provided.

foreach (var value in byteString)
{
if (!((value >= 65 && value <= 90) || (value >= 97 && value <= 122)))
if (value is (< 65 or > 90) and (< 97 or > 122))
Copy link
Member

Choose a reason for hiding this comment

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

Add ut?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is for showing you where is the problem.

Copy link
Member

Choose a reason for hiding this comment

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

But we should add unit test to ensure that is fixed

@Ashuaidehao Ashuaidehao mentioned this pull request Mar 7, 2024
@Jim8y Jim8y mentioned this pull request Mar 7, 2024
@Jim8y Jim8y closed this in #987 Mar 8, 2024
@Jim8y Jim8y deleted the pattern branch April 17, 2024 17:37
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.

2 participants