Skip to content

Conversation

TimothyGu
Copy link
Member

Refs: #17807
Refs: #15566 (comment)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@TimothyGu TimothyGu requested a review from bmeck March 26, 2018 03:23
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. repl Issues and PRs related to the REPL subsystem. labels Mar 26, 2018
@vsemozhetbyt
Copy link
Contributor

Should this be documented?

@vsemozhetbyt vsemozhetbyt added the promises Issues and PRs related to ECMAScript promises. label Mar 26, 2018
@TimothyGu
Copy link
Member Author

TimothyGu commented Mar 29, 2018

@vsemozhetbyt Done.

CI: https://ci.nodejs.org/job/node-test-commit/17264/

doc/api/repl.md Outdated
> await Promise.reject(new Error('REPL await'))
Error: REPL await
at repl:1:45
> timeout = util.promisify(setTimeout)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: maybe const timeout = and const old = to not emphasize sloppy mode?

@TimothyGu
Copy link
Member Author

TimothyGu commented Apr 14, 2018

@TimothyGu
Copy link
Member Author

I'll be landing this in a few days.

TimothyGu added a commit that referenced this pull request Apr 18, 2018
@TimothyGu
Copy link
Member Author

Landed in be92eab.

@jasnell, this needs to go into 10.0.0 to alleviate @bmeck's concern.

@TimothyGu TimothyGu closed this Apr 18, 2018
@TimothyGu TimothyGu deleted the repl-await-flag branch April 18, 2018 15:18
@vsemozhetbyt
Copy link
Contributor

vsemozhetbyt commented Apr 18, 2018

@TimothyGu It seems the flag also should be mentioned in doc/api/cli.md and doc/node.1.
I am sorry I missed this( Excuse me for being too late.

@jasnell jasnell added this to the 10.0.0 milestone Apr 18, 2018
@jasnell
Copy link
Member

jasnell commented Apr 18, 2018

Since this is semver-patch it will definitely make it in to 10.0.0

@TimothyGu
Copy link
Member Author

@vsemozhetbyt See #20133.

@vsemozhetbyt
Copy link
Contributor

This should be backported with #20133

TimothyGu added a commit that referenced this pull request Apr 18, 2018
PR-URL: #20133
Fixes: #19604 (comment)
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: James M Snell <[email protected]>
jasnell pushed a commit that referenced this pull request Apr 19, 2018
jasnell pushed a commit that referenced this pull request Apr 19, 2018
PR-URL: #20133
Fixes: #19604 (comment)
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. promises Issues and PRs related to ECMAScript promises. repl Issues and PRs related to the REPL subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants