GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||
GeezerVison is showing github.com — lib: remove duplicated code by himself65 · Pull Request #32719 · nodejs/node Conversation
|
| Local<String> string; | |
| if (!value->ToString(env()->isolate()->GetCurrentContext()) | |
| .ToLocal(&string)) | |
| return Nothing<int>(); | |
| js_array | |
| ->Set(context, | |
| i, | |
| value->ToString(env()->isolate()->GetCurrentContext()) | |
| .ToLocalChecked()) | |
| .Check(); |
make -j4 test (UNIX), or vcbuild test (Windows) passes
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
BTW, Do we have rules for something like |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@himself65 I don’t think so, but I think for C++ that might be quite a bit harder to implement than it is for JS, because the constructor/destructor of a variable might be relevant (e.g. However, the compiler will generally emit warnings for unused variables where it can tell that they are useless. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ah, btw, the commit message should start with |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
oh, I didn't notice that |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: nodejs#32719 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
|
Landed in 1c4b205 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #32719 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
PR-URL: #32719 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
PR-URL: #32719 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.