Skip to content

Conversation

@jasnell
Copy link
Member

@jasnell jasnell commented Oct 27, 2017

setHiddenValue() and getHiddenValue() are internal only utility functions, CHECK instead of throw

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

util

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. util Issues and PRs related to the built-in util module. labels Oct 27, 2017
@jasnell jasnell force-pushed the migrate-util-hidden-value branch from 9e54ea8 to c322f6b Compare October 27, 2017 04:42
@jasnell jasnell added the semver-major PRs that contain breaking changes and should be released in the next major version. label Oct 27, 2017
lib/repl.js Outdated
Copy link
Member Author

Choose a reason for hiding this comment

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

to protect against the odd random non-object being emitted on the domain error event. If e is not an object, it will trigger the CHECK

@nodejs nodejs deleted a comment from salmanwaheed Oct 27, 2017
@nodejs nodejs deleted a comment from salmanwaheed Oct 27, 2017
Copy link
Member

Choose a reason for hiding this comment

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

Nit: not sure why this uses deepStrictEqual. I think it should be strictEqual.

@jasnell
Copy link
Member Author

jasnell commented Oct 30, 2017

ping @nodejs/tsc

These are internal only utility functions, CHECK instead of throw
@jasnell jasnell force-pushed the migrate-util-hidden-value branch from c322f6b to 7925adc Compare October 30, 2017 00:32
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

LGTM

@jasnell
Copy link
Member Author

jasnell commented Nov 2, 2017

@jasnell
Copy link
Member Author

jasnell commented Nov 2, 2017

Failures in CI are entirely unrelated.

jasnell added a commit that referenced this pull request Nov 2, 2017
These are internal only utility functions, CHECK instead of throw

PR-URL: #16544
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@jasnell
Copy link
Member Author

jasnell commented Nov 2, 2017

Landed in 3d20190

@jasnell jasnell closed this Nov 2, 2017
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++. semver-major PRs that contain breaking changes and should be released in the next major version. util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants