-
Notifications
You must be signed in to change notification settings - Fork 30k
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
src: refactor contextify #8909
src: refactor contextify #8909
Conversation
Small refactoring to make contextify more readable. Remove auto and inline FromJust(). Simplify if statement.
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.
You can have my LGTM if you want it but I consider style changes mostly needless churn.
The readability argument is debatable; I personally don't find redundant type info more readable but different strokes for different folks.
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.
LGTM
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.
LGTM
It appears unrelated, but there's a bit too much red in that last CI run, trying again: https://ci.nodejs.org/job/node-test-pull-request/4420/ |
Small refactoring to make contextify more readable. Remove auto and inline FromJust(). Simplify if statement. PR-URL: #8909 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in f7842ad |
Small refactoring to make contextify more readable. Remove auto and inline FromJust(). Simplify if statement. PR-URL: #8909 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
@fhinkel should this be backported? |
No. |
Checklist
make -j8 test
(UNIX) passesAffected core subsystem(s)
src, vm
Description of change
Small refactoring to make contextify more readable.
Remove
auto
and inlineFromJust()
. Simplifyif
statement.