{{ message }}
src: document required else block at src/node_platform.cc#34688
Closed
juanarbol wants to merge 1 commit into
Closed
src: document required else block at src/node_platform.cc#34688juanarbol wants to merge 1 commit into
juanarbol wants to merge 1 commit into
Conversation
gireeshpunathil
approved these changes
Aug 9, 2020
devnexen
approved these changes
Aug 9, 2020
lpinca
approved these changes
Aug 9, 2020
yashLadha
approved these changes
Aug 9, 2020
addaleax
requested changes
Aug 9, 2020
addaleax
left a comment
Member
There was a problem hiding this comment.
This is not redundant because it moves the task out of the InternalCallbackScope in the case in which env is available.
Member
Member
|
@BridgeAR No – this is als the cause of the failures in the WASI tests here, I assume. More generally, in C++ if (x) {
some_variable a;
do_something();
} else {
do_something();
}and if (x) {
some_variable a;
}
do_something(); are not equivalent if the constructor/destructor of |
Member
Author
|
Hey @addaleax thank you!! I was asking why it did break WASI tests. Closing. |
Member
|
@juanarbol Fwiw, you’re not the first one who ran into this, so it might be worth adding a comment here that this is intentional (especially considering that this PR already had 4 approvals) |
jasnell
approved these changes
Aug 10, 2020
Nelias
suggested changes
Aug 13, 2020
4209ff9 to
24fba59
Compare
addaleax
approved these changes
Aug 24, 2020
Collaborator
Collaborator
This was referenced Aug 25, 2020
Collaborator
Member
addaleax
pushed a commit
that referenced
this pull request
Sep 30, 2020
PR-URL: #34688 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
danielleadams
pushed a commit
that referenced
this pull request
Oct 6, 2020
PR-URL: #34688 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Merged
joesepi
pushed a commit
to joesepi/node
that referenced
this pull request
Jan 8, 2021
PR-URL: nodejs#34688 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes