Skip to content

Implement Display for Expr and OptimizedExpr#896

Merged
tomtau merged 2 commits intopest-parser:masterfrom
TheVeryDarkness:impl-display-for-expr
Jul 20, 2023
Merged

Implement Display for Expr and OptimizedExpr#896
tomtau merged 2 commits intopest-parser:masterfrom
TheVeryDarkness:impl-display-for-expr

Conversation

@TheVeryDarkness
Copy link
Contributor

@TheVeryDarkness TheVeryDarkness commented Jul 20, 2023

Non-related changes included in previous pull request #895.

Improve the implementation added in #889.

Corresponding tests added.

Not related changes included in previous pull request pest-parser#895.
@TheVeryDarkness TheVeryDarkness requested a review from a team as a code owner July 20, 2023 06:11
@TheVeryDarkness TheVeryDarkness requested review from NoahTheDuke and removed request for a team July 20, 2023 06:11
Comment on lines +279 to +280
nodes.push(lhs);
current = rhs;
Copy link
Contributor

Choose a reason for hiding this comment

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

it seems this bit isn't covered by tests (also not covered in Choice); I'm fine to merge it as it is though

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll add several tests for that then. Sorry to forget that.

Copy link
Contributor

@tomtau tomtau Jul 20, 2023

Choose a reason for hiding this comment

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

No problem, it should be ok as it is

To cover more paths in Seq and Choice. Thanks for @tomtau to point it out in pest-parser#896.
@tomtau tomtau merged commit 02cffe6 into pest-parser:master Jul 20, 2023
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