-
Notifications
You must be signed in to change notification settings - Fork 65
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
Prepare for supporting chained updates #1841
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1841 +/- ##
==========================================
- Coverage 90.21% 90.21% -0.01%
==========================================
Files 400 400
Lines 38503 38520 +17
Branches 4316 4318 +2
==========================================
+ Hits 34734 34749 +15
Misses 2477 2477
- Partials 1292 1294 +2 ☔ View full report in Codecov by Sentry. |
Conformance check passed ✅No test result changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much,
I have some suggestions and questions, feel free to answer and address them.
} | ||
|
||
auto update = visit(ctx->update1()); | ||
auto thisUpdate = visit(ctx->update1()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How easy is it to update this rule also to something non-recursive, s.t. the following code becomes a simple loop?
If feasible, please do so (for readability rather than efficiency, but still)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rule only gets a bit longer, but then we'd need something like a reset()
function for our state.
|
Required changes in the parsing to be able to support chained updates.