-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Outdated comment in timers #14308
Comments
I'm on this. |
It's still there. The comment should just say try/finally instead of try/catch |
PR updated |
@targos yes, but the "allow it to be optimized" part is no longer true with TurboFan |
True, but that's not the reason you gave in the OP. I still think the comment is relevant because it explains why the call is made in another function. If that is not relevant anymore, we shouldn't just remove the comment but revert the optimization altogether. |
This comment is intentional in it's current position: 6f75b66#diff-0a5d4868b2b9b17cf9e2c11f1bd1311eR545 (And also correct IIRC) EDIT: ok maybe not with TurboFan |
Hi ! |
Replaced try/catch with try/finally in comments, line 744. Fixes: nodejs#14308
This got fixed by a2b6872 |
Currently, the timers contain an outdated comment in https://github.com/nodejs/node/blob/master/lib/timers.js#L742 referring to a try/catch statement that is not there.
We should remove it.
The text was updated successfully, but these errors were encountered: