★ wanayoo — archive 1999 https://github.com/nodejs/node/pull/22243Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util,assert: fix boxed primitives bug #22243

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
5 participants
@BridgeAR
Copy link
Member

BridgeAR commented Aug 10, 2018

Currently the comparison could throw an error in case a boxed
primitive has no valueOf function on one side of the assert call.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
util,assert: fix boxed primitives bug
Currently the comparison could throw an error in case a boxed
primitive has no valueOf function on one side of the assert call.
@lpinca

lpinca approved these changes Aug 10, 2018

@lpinca

This comment has been minimized.

@trivikr

This comment has been minimized.

Copy link
Contributor

trivikr commented Aug 12, 2018

@gdams

gdams approved these changes Aug 12, 2018

@gdams

This comment has been minimized.

Copy link
Member

gdams commented Aug 12, 2018 •

landed in: c7ca199

@gdams gdams closed this Aug 12, 2018

gdams pushed a commit that referenced this pull request Aug 12, 2018

util,assert: fix boxed primitives bug
Currently the comparison could throw an error in case a boxed
primitive has no valueOf function on one side of the assert call.

PR-URL: #22243
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: George Adams <george.adams@uk.ibm.com>

rvagg added a commit that referenced this pull request Aug 13, 2018

util,assert: fix boxed primitives bug
Currently the comparison could throw an error in case a boxed
primitive has no valueOf function on one side of the assert call.

PR-URL: #22243
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: George Adams <george.adams@uk.ibm.com>

@rvagg rvagg referenced this pull request Aug 13, 2018

Merged

Release proposal: v10.9.0 #22295

rvagg added a commit that referenced this pull request Aug 13, 2018

util,assert: fix boxed primitives bug
Currently the comparison could throw an error in case a boxed
primitive has no valueOf function on one side of the assert call.

PR-URL: #22243
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: George Adams <george.adams@uk.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.