assert: fix CallTracker calls wraps the function causes the original …#42909
Merged
nodejs-github-bot merged 5 commits intonodejs:masterfrom May 6, 2022
Merged
assert: fix CallTracker calls wraps the function causes the original …#42909nodejs-github-bot merged 5 commits intonodejs:masterfrom
nodejs-github-bot merged 5 commits intonodejs:masterfrom
Conversation
aduh95
reviewed
Apr 29, 2022
Contributor
|
Should we overwrite the |
Contributor
Author
should use the original function name or the decorative name, eg |
Contributor
|
I think using the exact original name makes more sense, but no strong opinion. |
Member
|
Am I missing something or the implementation would be much simpler (and less prone to errors like this PR fixes) as a Proxy ? |
aduh95
reviewed
Apr 29, 2022
aduh95
reviewed
Apr 29, 2022
aduh95
reviewed
Apr 29, 2022
Contributor
Author
aduh95
reviewed
Apr 29, 2022
aduh95
reviewed
Apr 29, 2022
aduh95
approved these changes
Apr 29, 2022
Collaborator
This was referenced Apr 30, 2022
Collaborator
Collaborator
33 tasks
aduh95
reviewed
May 3, 2022
aduh95
approved these changes
May 3, 2022
Collaborator
This was referenced May 4, 2022
Collaborator
Contributor
Author
|
Hi @aduh95, can this be merged? |
Collaborator
|
Landed in 187b99b |
RafaelGSS
pushed a commit
that referenced
this pull request
May 10, 2022
PR-URL: #42909 Fixes: #40484 Reviewed-By: Antoine du Hamel <[email protected]>
Merged
juanarbol
pushed a commit
that referenced
this pull request
May 31, 2022
PR-URL: #42909 Fixes: #40484 Reviewed-By: Antoine du Hamel <[email protected]>
danielleadams
pushed a commit
that referenced
this pull request
Jun 27, 2022
PR-URL: #42909 Fixes: #40484 Reviewed-By: Antoine du Hamel <[email protected]>
targos
pushed a commit
that referenced
this pull request
Jul 12, 2022
PR-URL: #42909 Fixes: #40484 Reviewed-By: Antoine du Hamel <[email protected]>
targos
pushed a commit
that referenced
this pull request
Jul 31, 2022
PR-URL: #42909 Fixes: #40484 Reviewed-By: Antoine du Hamel <[email protected]>
guangwong
pushed a commit
to noslate-project/node
that referenced
this pull request
Oct 10, 2022
PR-URL: nodejs/node#42909 Fixes: nodejs/node#40484 Reviewed-By: Antoine du Hamel <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CallTracker calls wraps the function causes the original length to be lost. But many scenarios depend on the length of the function.
func.lengthis2, butcallsfunc.lengthis0.Fixes: #40484