Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
assert: fix CallTracker calls wraps the function causes the original …#42909
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
Y1D7NG commented Apr 29, 2022 • edited by aduh95
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by aduh95
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
aduh95 commented Apr 29, 2022
Should we overwrite the |
Y1D7NG commented Apr 29, 2022
should use the original function name or the decorative name, eg |
aduh95 commented Apr 29, 2022
I think using the exact original name makes more sense, but no strong opinion. |
targos commented Apr 29, 2022 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Am I missing something or the implementation would be much simpler (and less prone to errors like this PR fixes) as a Proxy ? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Y1D7NG commented Apr 29, 2022
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot commented Apr 29, 2022
nodejs-github-bot commented May 2, 2022
nodejs-github-bot commented May 2, 2022
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot commented May 3, 2022
nodejs-github-bot commented May 5, 2022
Y1D7NG commented May 6, 2022
Hi @aduh95, can this be merged? |
nodejs-github-bot commented May 6, 2022
Landed in 187b99b |
PR-URL: #42909Fixes: #40484 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #42909Fixes: #40484 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #42909Fixes: #40484 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #42909Fixes: #40484 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #42909Fixes: #40484 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: nodejs/node#42909Fixes: nodejs/node#40484 Reviewed-By: Antoine du Hamel <[email protected]>
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