src: change constructor behavior in stream_base-inl.h#23447
src: change constructor behavior in stream_base-inl.h#23447iansu wants to merge 2 commits intonodejs:masterfrom
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