-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Misleading error message #24917
Labels
assert
Issues and PRs related to the assert subsystem.
confirmed-bug
Issues with confirmed bugs.
util
Issues and PRs related to the built-in util module.
Comments
@lpinca do you have a suggestion how the first object should look like? I am struggling a bit finding a good representation. It's not the objects prototype that is One way could of course be to special handle this in |
I honestly don't know, can't think of a good representation :) |
BridgeAR
added a commit
to BridgeAR/node
that referenced
this issue
Dec 11, 2018
It is currently difficult to distinguish multiple objects from each other because the prototype is not properly inspected. From now on all prototypes will be inspected, even if we do not fully know how they will look like / what their shape really is. Fixes: nodejs#24917
BethGriggs
pushed a commit
that referenced
this issue
Dec 18, 2018
It is currently difficult to distinguish multiple objects from each other because the prototype is not properly inspected. From now on all prototypes will be inspected, even if we do not fully know how they will look like / what their shape really is. PR-URL: #24974 Fixes: #24917 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
refack
pushed a commit
to refack/node
that referenced
this issue
Jan 14, 2019
It is currently difficult to distinguish multiple objects from each other because the prototype is not properly inspected. From now on all prototypes will be inspected, even if we do not fully know how they will look like / what their shape really is. PR-URL: nodejs#24974 Fixes: nodejs#24917 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
assert
Issues and PRs related to the assert subsystem.
confirmed-bug
Issues with confirmed bugs.
util
Issues and PRs related to the built-in util module.
The assertion fails because the objects have a different prototype. The same assertion produces a different message in other cases, for example:
cc: @BridgeAR
The text was updated successfully, but these errors were encountered: