Uh oh!
There was an error while loading. Please reload this page.
crypto: naming anonymouse functions - #8993
Conversation
solebox
commented
Oct 9, 2016
fixes some of it , not the whole thing. as requested in the thread, pull request per module. |
addaleax
left a comment
There was a problem hiding this comment.
Generally, this looks fine! Some of the lines need to be wrapped, and there’s a anonymouse typo in the commit message.
There was a problem hiding this comment.
Could you check that your lines are no longer than 80 characters?
addaleax
commented
Oct 9, 2016
Oh, and if your commit only partially solves a Github issue, it’s better to use use |
solebox
commented
Oct 9, 2016
submitted changes |
Are methods on the prototype object actually a problem? In a normal stack trace they will have a full name e.g. functionC(){}C.prototype.method=function(){thrownewError('');}newC().method() |
@AndreasMadsen when requesting .name i got an empty string. i assume that mattered to some people when debugging (check out the repl feedback , its pretty nice to have name set when you're using repl, really helps) |
There was a problem hiding this comment.
Typically we like to keep the parameters all lined up if on multiple lines. However in the case that a lined up parameter on a new line would exceed the 80 character mark, it would probably be better to just move everything after the = to the next line and indent the entire function definition by 2 spaces.
Ditto for the changes below.
targos
commented
Oct 10, 2016
LGTM |
thefourtheye
left a comment
There was a problem hiding this comment.
Change looks okay, but commit message could use the following changes
- typo should be fixed and
- if possible, an imperative verb could be used as the first word. For example,
crypto: name anonymous functions
jasnell
commented
Oct 11, 2016
solebox
commented
Oct 12, 2016
@jasnell hello james , my commit only changes javascript i dont see a reason why it wont work on all platforms just the same. looks like test-npm-install.js is the culprit (at least in the free-bsd box, arm has no report yet) |
gibfahn
commented
Oct 12, 2016
@soleboxy Those failures look like infrastructure issues. |
gibfahn
commented
Oct 12, 2016
New CI (we'll run it until it works ) https://ci.nodejs.org/job/node-test-pull-request/4490/ |
707f6c3 to
72be5edCompareaddaleax
commented
Oct 15, 2016
addaleax
commented
Oct 15, 2016
I’ll start landing this:
|
addaleax
commented
Oct 15, 2016
You author name in this commit is given as “solebox”. Is that intended or do you prefer to be listed (changelog, git log, AUTHORS file) with some other name? People typically prefer their full name, but ultimately it’s up to you. |
addaleax
commented
Oct 15, 2016
Landed in 6f05de4! 🎉 |
MylesBorins
commented
Nov 11, 2016
I'm going to hold off on backporting this at the moment, but I'm very curious where we landed on this and thoughts on backporting to v6 |
sam-github
commented
Jul 25, 2017
solebox
commented
Jul 27, 2017
thanks :) |
sam-github
commented
Sep 20, 2017
@MylesBorins I pushed this onto v6.x-staging, it cherry picks clean, and will help @tniessen with #14376 which we asked for. Landed in e9235e8e2efb0443d0d770a7bdce4aff983fdbc9 for v6.x-staging. |
Checklist
make -j8 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
crypto
Description of change
rename anonymouse functions
Ref: #8913