Skip to content

readline: name some anonymous functions - #14297

Closed
Amunu wants to merge 1 commit into
nodejs:masterfrom
Amunu:lib-function
Closed

readline: name some anonymous functions#14297
Amunu wants to merge 1 commit into
nodejs:masterfrom
Amunu:lib-function

Conversation

@Amunu

@AmunuAmunu commented Jul 16, 2017

Copy link
Copy Markdown
Contributor

Refs: #8913
Refs: #14297 (review)

Checklist
  • make -j4 test
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

readline

@nodejs-github-botnodejs-github-bot added string_decoder Issues and PRs related to the string_decoder subsystem. timers Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout. tty Issues and PRs related to the tty subsystem. util Issues and PRs related to the built-in util module. labels Jul 16, 2017
Trott
Trott previously requested changes Jul 16, 2017

@TrottTrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These function don't need to be named, but there are anonymous functions used as listeners in some files (such as lib/readline.js) that should probably be named. Do you want to try to name those?

@AmunuAmunu changed the title lib: name anonymous functionsreadline: name some anonymous functionsJul 20, 2017
@Amunu

Copy link
Copy Markdown
ContributorAuthor

@Trott I've updated the code and PR message.

@Trott
Trott dismissed their stale reviewJuly 20, 2017 04:28

significant changes, dismissing review

@Trott

Copy link
Copy Markdown
Member

Great! Thanks! Looks like there's conflicts. Can you rebase against master and resolve them?

@Amunu

Copy link
Copy Markdown
ContributorAuthor

@Trott I've rebased the code.

@XadillaXXadillaX added readline Issues and PRs related to the built-in readline module. and removed string_decoder Issues and PRs related to the string_decoder subsystem. timers Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout. tty Issues and PRs related to the tty subsystem. util Issues and PRs related to the built-in util module. labels Jul 20, 2017

@XadillaXXadillaX left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@XadillaX

Copy link
Copy Markdown
Contributor

@XadillaXXadillaX mentioned this pull request Jul 20, 2017
3 tasks
@TrottTrott added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Jul 20, 2017
@XadillaX

Copy link
Copy Markdown
Contributor

@Trott, I'm not sure that whether CI is OK or not.

@Trott

Copy link
Copy Markdown
Member

@XadillaX CI is fine. The one failure is test-crypto-dh-leak which is a known flaky test.

@XadillaX

Copy link
Copy Markdown
Contributor

Landed in f37e3b1. Thanks.

XadillaX pushed a commit that referenced this pull request Jul 23, 2017
PR-URL: #14297
Refs: #8913
Refs: #14297 (review)
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@addaleax

Copy link
Copy Markdown
Member

This doesn’t land cleanly on 8.x; if you can, please follow the guide and raise a backport PR, if you don’t think it’s worth it let me know and we’ll add the dont-land-on label.

jasnell pushed a commit that referenced this pull request Sep 25, 2017
PR-URL: #14297
Refs: #8913
Refs: #14297 (review)
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-and-learnIssues related to the Code-and-Learn events and PRs submitted during the events.readlineIssues and PRs related to the built-in readline module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@Amunu@Trott@XadillaX@addaleax@jasnell@cjihrig@MylesBorins@nodejs-github-bot