-
Notifications
You must be signed in to change notification settings - Fork 30k
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
src: change constructor behavior in stream_base-inl.h #23447
Conversation
Change ConstructorBehavior from kAllow to kThrow.
@iansu Can you also remove the |
@iansu This PR is very similar to #23453 – that’s my fault. One of the tasks we handed out had text pointing to the same file, even though the heading pointed to another file ( I’ll try to land both of these PRs together so you both get full credit, but just a heads up, if you have the test with the heading mentioning |
@addaleax I can fix this in |
Landed in c19ab56 Thanks for the contribution! 🎉 (If you're interested in other possible contributions to Node.js but don't have a good idea of where to start looking, some ideas are posted at https://www.nodetodo.org/next-steps/.) |
Change ConstructorBehavior from kAllow to kThrow. Co-authored-by: Bruce A. MacNaughton <bmacnaughton@gmail.com> Refs: #23453 PR-URL: #23447 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Change ConstructorBehavior from kAllow to kThrow. Co-authored-by: Bruce A. MacNaughton <bmacnaughton@gmail.com> Refs: #23453 PR-URL: #23447 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Change ConstructorBehavior from kAllow to kThrow.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes