Uh oh!
There was an error while loading. Please reload this page.
tools: fix js2c regression - #27980
Conversation
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
The builds are failing because this is private. I guess it would also make sense to add a public method to just return the source in a copy, though.
There was a problem hiding this comment.
I made it a friend
https://github.com/nodejs/node/blob/84aca5ca594f86ce9b6b86e6af039e78f90deaef/src/node_native_module.h#L89
and it compiles & passes with MSVC, now I need to figure out gcc & clang 🤷♂
There was a problem hiding this comment.
Seems like it was a namespace issue
https://github.com/nodejs/node/blob/c178598d309319e9a9e9692d6560a9205cd1b307/src/node_native_module.h#L89
This comment has been minimized.
This comment has been minimized.
nodejs-github-bot
commented
May 31, 2019
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Can you wrap this, e.g. by putting the for i in ... on its own line, lining it up with the e in [encoded_source?
nodejs-github-bot
commented
Jun 2, 2019
Trott
commented
Jun 2, 2019
Landed in cb92d24 |
PR-URL: nodejs#27980 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: #27980 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Fix a regression that was introduced in #25518 and causes the binary to bloat by ~10%.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes